Forums

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

If a change is made to an automation, does it populate on the epic?

Keyshla Coriano Parrilla July 8, 2024

If a change is made to an automation, does it populate on an existing epic? Or would a new epic need to be created in order for the automation to work?

Context:

I created an automation so that when an epic is created, stories and tasks automatically populate. However, one of the stories did not populate as the JSON object was not correct. This was updated to the following:

{

"fields": {

"Epic Link": "{{issue.key}}" }

}

 

After making the updated on the field, the story is still not populating within the epic. Can someone please provide guidance?

2 answers

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
July 8, 2024

Hello @Keyshla Coriano Parrilla 

Welcome to the Atlassian community.

Whenever you ask for help with an Automation Rule, it is vital that you provide screen images that show the entire automation rule. It is very hard for us to help you without that information.

If the rule uses the "Issue Created" trigger, it will only be triggered when a new issue is created. Such a rule will not run against existing issues after the rule has been updated. You would need a different type of rule for that; one that selected the Epics you wanted to update and included just the steps for the updates you want to make.

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.
July 8, 2024

Hi @Keyshla Coriano Parrilla -- Welcome to the Atlassian Community!

Adding to Trudy's suggestions...

You appear to be using Jira Cloud.  Is that correct?

If so, the Epic Link field is sunsetting and the correct field to use now (and in the future) is Parent.  Your original rule which creates the child Stories and Tasks could select the Parent field from the dropdown list and set the value to {{triggerIssue.key}} without a need to use the advanced edit with JSON to set the field.

Kind regards,
Bill

Keyshla Coriano Parrilla July 10, 2024

This was super helpful! I ended up deleting the Epic> update automation >create new Epic.

 

Thank you!

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
July 8, 2024

I would say that the change should reflect in the epic IF the automation was rerun and it was successful. 

If it either didn't run or if it failed after the change was made, no it would not update the epic.

Suggest an answer

Log in or Sign up to answer