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...)
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
Hi @Assad Rajab !
You can do this using the following automation blocks:
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
@Deivid Araujo Any thoughts on this?
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 elseHowever, i am not sure if this is how the variables work in the Automation and if there is any simpler Approach.
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?
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.
It looks like you're new here. Sign in or register to get started.