Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automate issue type status changes

Jordan Trinklein
Contributor
January 4, 2023

Hello! I've scoured the automation library, but so far have not been able to find the proper rule.

Does anyone know if it's possible to create an automation rule that will automatically move a parent story once all the sub-tasks nested within it are moved to that specific status first?

For example:

  • Parent Story is in "In Code Review"
  • The 2 sub-tasks under the Parent Story are in "In Code Review" and moved to "In DR & QA" 
  • The Parent story is automatically moved to "In DR & QA" because both sub-tasks were moved to "In DR & QA"

Thanks in advance for any help! 

2 answers

1 accepted

4 votes
Answer accepted
Walter Buggenhout
Community Champion
January 4, 2023

Hi @Jordan Trinklein,

This automation rule is the one you're looking for. All you need to do, is update the statuses to match your use case:

Screenshot 2023-01-04 at 22.56.41.png

Hope this helps!

Jordan Trinklein
Contributor
January 5, 2023

Thanks @Walter Buggenhout 

I really appreciate the template. I went in and wired up an automation rule that matches this to automatically move the parent story from In Progress to IN CR once all the nested sub-tasks are moved to IN CR and published it. I waited a couple minutes and then created a test story with sub-tasks, inserted that into our sprint, moved everything to In Progress, then moved the sub-tasks to IN CR to see if that would move the parent story. But it appears the Parent story is still sitting in In Progress

I think it has something to do with the matching JQL value, but I did = and '=' , none seem to work.

Do you see anything wrong with how I've wired this rule up? 

Jordan Trinklein
Contributor
January 5, 2023
Walter Buggenhout
Community Champion
January 5, 2023

Hi @Jordan Trinklein,

Yes. Just put "IN CR" between quotes, as the name of your status contains a space. 

Jordan Trinklein
Contributor
January 5, 2023

That seemed to work. Thanks Walter!

Like Walter Buggenhout likes this
2 votes
Mikael Sandberg
Community Champion
January 4, 2023

If you look in the automation library you should see a rule called "When all sub-tasks are done → move parent to done" that you can use as a starting point and then add the additional checks and conditions that you need.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events