Automation for Moving Epics to 'In Progress' when any of the child stories is moved

Anu September 27, 2023

Hi, am trying to create an automation Rule for when any chid Story of an Epic is moved to "In progress" Status, the Epic status gets updated to "In progress" automatically. 

Sharing the rule in screenshot I wrote so far which is failing at 2nd condition when i look at the Audit logs. Screenshot 2023-09-27 at 5.10.20 PM.pngScreenshot 2023-09-27 at 5.10.36 PM.png


The first screenshot shows my Rule and 2nd shows the Audit log where it condition did not match the condition. Even though the child story was moved to "  In Progress" . 

I am not sure where my rule is breaking to update the Epic Status. Am i missing any step here? 

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2023

Hello @Anu 

The second condition you added, under the branch, is trying to apply the condition to the issue that triggered the rule. The conditions applies only to Epics, and the issue that triggered the rule is not an Epic, so the condition does not pass.

 

Screenshot 2023-09-27 at 2.27.13 PM.png

 

What are you trying to accomplish with adding that condition to your rule?

Anu September 27, 2023

Sorry about that, I shared the wrong screenshot, my bad.

I am trying to check if any child Story of an Epic is "in Progress" status, the Epic status is also changed to "In Progress" 


Screenshot 2023-09-27 at 5.44.37 PM.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2023

Hi @Anu 

Given what you describe, perhaps you do not need that specific condition on other stories: when the rule triggers and the branch gets to the epic, you know you want the epic in progress also.

Instead should there be a condition so the epic is only transitioned to in progress if it is not already in progress?

Kind regards,
Bill

Like # people like this
Anu September 27, 2023

 

As I am at very basics of Jira automation so was trying only one scenario where an EPic is created in To do Status, has 5 child User Stories also in To do status. 

when one of the Story is moved to " In Progress", Epic's status automatically updates to " In progress" and same am trying with the Rule in screenshot below. 

Once, i get comfortable with first rule, I will add other rules. Hope I was able to clarify my scenario. 

Screenshot 2023-09-27 at 5.59.06 PM.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2023

Hello @Anu 

You must remove the "If: Stories (or other issues in this Epic) present" condition. Your rule will not work with that present.

You don't need to check if any of the Epic's child issues are in an In Progress status. The fact that the rule was triggered proves that to be true already. Your rule is only triggered when an issue is moved to In Progress, and will only proceed to update that issue's parent Epic, if it has one. 

@Bill Sheboy 's suggestion was to add a condition to check that the Epic status is not equal to In Progress. If the Epic status is not equal to In Progress then transition the Epic to In Progress. You need to change your "Status equals In Progress" condition to use the "not equals" option.

Like Anu likes this
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2023

.. deleting due to incorrect

Anu September 27, 2023

Thank you both Trudy and Bill. 

I was able to make updates and run the automation Rule successfully. 

Based on my understanding of this, was able to construct rule to Mark Epic as Done when all child items are completed. Appreciate the time taken to explain. 

Like Bill Sheboy likes this
Rodolfo Arriesgado So
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2024

Hi @Anu ,

 

Please provide screenshots of your approach. Thanks!

Dominic Roy Arokiaraj October 30, 2024

Hi @Trudy Claspill & @Bill Sheboy 

As mentioned above I created the Automation rule as below Screenshot 2024-10-31 at 10.45.14 AM.png

But it throws an errors as below

Screenshot 2024-10-31 at 10.45.42 AM.png

As mentioned the Epic status get transitioned to In progress as shown below 

Screenshot 2024-10-31 at 10.50.40 AM.png

How to rectify this error?

Dominic Roy Arokiaraj October 31, 2024

Rectified the error working as expected

Screenshot 2024-10-31 at 2.24.09 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events