Forums

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

Auto rules

Shari Fitz-Patrick
Contributor
January 18, 2023

I have created an auto rule to close epics when all associated tasks are in a Done status.  It works but I am trying to figure out if it is possible to use this rule on old projects.  Cannot figure out if this is possible or how to do it.  Thanks

2 answers

2 accepted

0 votes
Answer accepted
John Funk
Community Champion
January 18, 2023

Hi Shari,

Why do you mean by "old projects"? I assume you mean that nothing is triggering it since all of the tasks are already done and you want the Epic to be marked done - correct?

Can you share your current rule?

Shari Fitz-Patrick
Contributor
January 18, 2023

Unfortunately we have old projects where the tasks, etc are in a Done status but the epic is still open  I can manually go through the projects but it would be great if there was a way that I could run this rule on those old projects.  Not sure if I am making any sense.  This is a copy of the Global Rule I created

Global Epic Rule.JPG

John Funk
Community Champion
January 19, 2023

Okay, copy that rule and change the trigger to a Schedule Trigger and have rune 1 times a day or 1 times a week or whatever. I would add a JQL on the Scheduled part for KEY = ABC-123 where that is one of the Epics that is open but all children are closed, just to test it out first. Click off the box for Only include issues that have change. 

Save it and publish it. Then go ahead and click the Run Rule button. That should run it for the one you are testing. See if the results are what you want. If so, then maybe change the JQL to Project = ABC and issuetype = Epic so it only runs on a single problem to be sure it is still good. Then you can just leave the issuetype = Epic part and run it agains all of your projects. 

WARNING - I have not tested this so run it with just one first. 

0 votes
Answer accepted
Ashley Hudson
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.
January 18, 2023

Heya @Shari Fitz-Patrick ,

So regarding this automation rule, this should work for all projects? Please perhaps attach a screenshot of the automation rule? Also you can copy the rule and place it into any other project! :)

Kind Regards,

Ashley Hudson

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