Hi, i am working on automation process.
The point i can't solve is how to check if one of the linked issues have the type of "xy" (can be a task, sub-task, etc...)
Thank you, However i missformatted my question, i want to do something if no ticket of issue type XY is present in the linked items
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case, you can just change the "Condition" field from "Is one of" to "Is not one of".
You need to make changes on issue that triggered the automation or the linked issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Assad Rajab
You can use a conditional expression for this:
If issuetype in (task, sub-task)
The issues that pass this condition can have a different automation path, which is indicated to you by the vertical line that's visible to the right of the main line between automation parts.
Kind regards,
Dick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Dick Thank you for your reply.
as i mentioned above, i have missformatted my question. the final goal is to do something if no task of type (XY) found. Is there any workarounds to do this? I have thought about creating something similer to:
- create variable
- Iterate linked items
-- if item type is XY, change the variable value to be true
- check for the variable
-- if true
--- do something
-- else
--- do something else
However, i am not sure if this is how the variables work in the Automation and if there is any simpler Approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Assad Rajab
It's as simple as to include the not operator in your condition after finding a set of issues to begin with using the lookupissues function.
Kind regards,
Dick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.