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?
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was super helpful! I ended up deleting the Epic> update automation >create new Epic.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.