Forums

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

Why doesn't my Automation Rule for Status Update on a Story work?

Rich Evers April 1, 2022

I have the pre-built Automation Rule enabled that will update a Story to DONE when all of the Subtasks are DONE.  I also built an Automation Rule that updates Stories to IN PROGRESS if any of the Subtasks are IN PROGRESS.  They both work just fine. 

What I want to see happen is, if all Subtasks are DONE and the Story status is DONE - when a Subtask is added and is TO DO, I want the Story to change to IN PROGRESS from DONE.  Here is a screenshot of what I have built and I do not know why it won't work....

Screen Shot 2022-04-01 at 1.22.11 PM.png

Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Fernando Eugênio da Silva
Community Champion
April 1, 2022

@Rich Evers ,

As I understand it, you want the following:

If a new sub-task is added even after Story has been completed, and that same sub-task is transitioned to "IN PROGRESS" your Story must also go from DONE to IN PROGRESS.

Following this idea, the simple thing you should configure is like this:
78.PNG

I did the automation with a pretty closed scope on it, so I took the opportunity to include all the conditions I need. You should just observe and adjust the JQL condition to what makes sense to you.

If you follow this idea, you will surely get your result.

I hope this helps.

Regards,

Fernando

Rich Evers April 1, 2022

Hi Fernando, thank you for reaching out!  We are not quite aligned.  Here's hopefully a clearer version:

If a new sub-task is added even after Story has been completed, that same sub-task is automatically assigned a status of "TO DO" so I want my Story to go from DONE to IN PROGRESS.

 

Hopefully this makes sense.  Thanks again!

Fernando Eugênio da Silva
Community Champion
April 1, 2022

I think I understood and it became clearer. Just to ensure:

If a subtask is created even after the Story has been completed, then the subtask should automatically move to TO DO while the Story should automatically move from DONE to IN PROGRESS.

Here's a tweaked version of automation of how it might work for you.

80.PNG

Details:

- The second CONDITION of JQL you have to select this JQL inside the CONDITION "RELATED ISSUES CONDITION".

- Change statuses to the ones that make sense. Being the first ACTION on Subtask's "TO DO" status

- Create the BRANCH for "PARENT ISSUE" and the second ACTION is the Story transition.

Let me know if now that´s right for you.

Regards,

Fernando

Rich Evers April 1, 2022

It worked!  Thanks Fernando!  Have a great weekend!

Fernando Eugênio da Silva
Community Champion
April 1, 2022

@Rich Evers 

Glad to hear it worked!

Please click "Accepted Answer" to help others in the community find this solution faster.

Have a great weekend :D

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events