In our Jira project we have an automation rule triggered on Issue creation. It creates some related tasks and adds them to the same Epic as the Issue that was just created.
This works fine in Jira but when the Issue is created via Advanced Roadmaps it doesn't work properly.
It appears that AR first creates the issue and, second, sets the Epic Link. This means the automation rule fires before the Epic Link is set.
Is this expected behaviour? Why does AR not create the issue and set the Epic Link in one step? Can anyone think of a good workaround?
Solved! Go to Solution.
Regarding your automation, i think the simplest solution would be to create a manual trigger version of it that you evoke from the epic and it creates the story and associated tasks.
This could be as well as the one that works in native Jira. Then instead of creating the story in AR, open the Epic (from AR), run the manual version....refresh the Plan and as long as they meet the criteria of the Issue sources of the Plan, they will be there.
Yes, I think those are the best workarounds based on current limitations. I'll raise a support ticket to see if AR can be fixed/enhanced to do the issue creation and the setting of the Epic Link in one step.
I raised a support ticket on this and support have found a better workaround. Add a "Re-fetch issue data" step to the automation rule and it will fire after the Epic Link is set.
Brilliant. I must confess, I've never used that action. But now I know..... 😊👍