I have the results of a lookupIssues in automation that contains 5 or so issues. I want to loop through those issues and if the status is open transition it to Ready. Any thoughts on how I might do this. I got to the point were I can loop through the lookupIssues but can't seem to figure out how to transition the issue with variable.
eachIssue is the variable that contains the information for the issues that I have lookedup and now I want to transition them if the Status is Open. The above seems to work except for the last step. The transition step now obviously transitions the issue in the flow not the issue identified by eachIssue. Is there some way I can transition eachIssue that is an item from lookupIssues?
Thanks
brady
Sometimes just asking the question gets your brain in gear and you discover the solution.
Turns out to be incredibly simple.... Once you do your lookup then do a branch For JQL and use the key in ( {{lookupIssues}} ) as your query.
The above mentioned logic can also be used to transition a sub-task based on another sub-task's status. A Sample scenario could be: For each story the UAT has to be completed and while the UAT is being performed by a separate team, you can have a task to capture any kind of support provided for the UAT if any. However, there are times when no Support was required to close the UAT. In this scenario, people tend to leave the support task unattended. To ensure the Support task also gets transitioned, we can use above criteria. I will also provide the screenshot of the logic used by me:
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.