Here's what I'm trying to do:
We have Story issues in a status of 'Pending Bug'. These stories have a variety of subtasks that represent development tasks, testing tasks, bug (bug sub-tasks), etc.
I'm trying to write a rule such that when ever the status of a sub-task changes, we find the parent (the Story), and the evaluate if all of the subtasks that are not of the 'QA Testing Sub-Task' type are in a status of 'Done', 'Closed, or 'Cancelled'. And then, if they are -> change the Story status to 'QA Ready'.
I hope that makes sense - thanks for any help!
Hello @Michael Pankau
Welcome to the Atlassian community!
In the Automation area you can find some rule templates. There is one there for transitioning a parent issue to Done when all its sub-tasks are Done.
That would be a starting point for your rule. It would need refinement since you don't want to include all the subtasks in your evaluation.
You may need to use a couple of Related Issue Conditions to check your subtasks such as
Some match JQL:
issuetype != 'QA Testing Sub-Task' and status in ('Done', 'Closed, 'Cancelled')
and None match JQL:
issuetype != 'QA Testing Sub-Task' and status not in ('Done', 'Closed, 'Cancelled')
HI @Michael Pankau ,
Can't fully remember exactly the steps. But you would look into using branches in your rules set where based on changes in sub-task/parent, it would update vice versa. However, you are on the right track using automation rules to do this.
Hope this helps
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.