How do I create an automation to move my Sub-QA to 'In Progress' when all sub-issues are Done
Asked by Casper:

I have a Parent Issue:

- Story  

I have a Sub-issues:

- Sub-Task

- Sub-Bug

- Sub-QA

I need to create automation when all Sub-Task and Sub-Bug are in Status Done,  
move my Sub-QA automatically to status In Progress.

I tried to create automation but I can't understand how I can move my Sub-QA.

![Screenshot 2023-09-21 at 11.29.44.png](https://community.atlassian.com/t5/image/serverpage/image-id/281966i0B915E2677C96B22/image-size/large?v=v2&px=999 "Screenshot 2023-09-21 at 11.29.44.png")

As you can see on the screenshot at this moment i need to move my Sub-QA.

Kind Regards,  
Ostap


Answers:
author: Casper
body: Hey [@Vishal](/t5/user/viewprofilepage/user-id/3505998) It works!  
Thank you)

I create three automation:

#First One  
![Screenshot 2023-09-22 at 17.18.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/282406i5650C5C2B2CAAD3A/image-size/large?v=v2&px=999 "Screenshot 2023-09-22 at 17.18.33.png")

#Second Automation

![Screenshot 2023-09-22 at 17.18.47.png](https://community.atlassian.com/t5/image/serverpage/image-id/282408i6E0AD86C51BB61E9/image-size/large?v=v2&px=999 "Screenshot 2023-09-22 at 17.18.47.png")

#Third Automation

![Screenshot 2023-09-22 at 17.18.55.png](https://community.atlassian.com/t5/image/serverpage/image-id/282407iBFE8E9D47344306C/image-size/large?v=v2&px=999 "Screenshot 2023-09-22 at 17.18.55.png")

First Automation moves Parent Issue to 'In Progress'

Second Automation moves Sub-QA to 'In Progress'

And when Sub-QA is 'In Progress' third Automation moves back the Parent issue.

comments: author: Vishal
body: Hi [@Casper](/t5/user/viewprofilepage/user-id/5237591)

Great, good to know its working.

Cheers!


author: Bill Sheboy
body: Hi [@Casper](/t5/user/viewprofilepage/user-id/5237591)

I believe this is possible with a single rule, and as you note you have tried to create a rule, please:

* explain the problem you are trying to solve (i.e., the "why")
* post images of your rule, including details of the trigger, conditions, and actions
* post an image of the audit log details showing the rule execution
* explain why you believe your rule is not working as expected

Using automation rules requires customers like us to learn and experiment. When you post a question without the above information it appears you are asking the community to just write the rule for you, as a free labor pool, rather than asking for people to collaborate on a solution.

Kind regards,  
Bill

comments: author: Casper
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313)

I was experimenting and trying to solve it by myself.  
I just thought that my unworking version wasn't interesting to the community.

Next time I will post it as you describe,  
Thank you!

Kind Regards,  
Ostap


author: Vishal
body: Dear [@Casper](/t5/user/viewprofilepage/user-id/5237591)

You are in same situation as that of other question which I answered, this is not possible directly as jira automation does not permit branch rule within branch rule.

So, you'll have to use similar logic as that of other using multiple automations.

Automation 1 : Check all the sub-tasks status in the below automation for each transition \& change the status of parent.

![Related Issues.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/282135i8505F17DAB5B2E9D/image-size/large?v=v2&px=999 "Related Issues.jpg")

Automation 2 : Monitor the status of parent \& when the status changed to in progress then change the status of Sub-QA to In Progress.

Check \& let me know if it works.

comments: author: Casper
body: Hi [@Vishal](/t5/user/viewprofilepage/user-id/3505998)

Got it!  
I will try and let you know about the result.

Kind Regards,  
Ostap


Tags: cloud

jira-software

jira-software-cloud