I've been trying to help a colleague write automation that would ideally trigger when an Epic link is added, changed or removed from a Story. But it isn't an available option under "Field value changed" trigger. Been able to get so far with JQL, but ultimately this functionality would make the process so much simplier.
Is there a reason why it isn't an option?
Hi @Curt Holley
I'm not sure why it's not there - it used to be possible to enter a field even if it wasn't present in the list, but that's not possible anymore.
However, Epic Link is part of the trigger Issue Updated - so that would be a more general trigger you could use instead to enable an action based on Epic Link being modified.
If this is insufficient - let us know the specifics of your rule and we can try to assist further :)
Hi @Curt Holley
Issue Updated will work - it's just that each edit made to an issue will count as an execution.
This makes it better to use at project-level where there are virtually unlimited executions, rather than it counted towards your global count.
There is a bug in regards to this - see AUT-1264
If you do want to build-out the rule, feel free to give me what actions/conditions you need and I'd be happy to try create something for you :)
Hi there - I'm finding this issue a few months later, and I'm noticing that the Issue Updated trigger does NOT trigger when Epic Link is changed. Has anyone experienced this change/found a workaround, etc?
I am working with preventing people from adding issues to epics with status "closed", so this trigger is important.
@Stephen Wright _Elabor8_ I hope you're still around!
Hi @Stephen Wright _Elabor8_ , thanks for responding!
I haven't written the rest of the rule yet, because I can not get the trigger to work. At the moment, I just have a 'log' action. My trigger is "When Issue updated", and adding an epic link does not trigger it. I can't figure it out, as it seemed to be working for you folks above.
As far as I know this is still not possible; the modification of the Epic Parent in Next-Gen does not trigger as an issue update.
I've tried a few other options such as...
...but not found one that consistently triggers well for Next-Gen Epics!
Got it, looks like Automation for Jira has a bug filed for this issue:
The main reason why this is not supported is because when there's an Epic Link change Jira triggers 2 events which could potentially cause a loop in the Automation for Jira side: https://codebarrel.atlassian.net/browse/AUT-334#icft=AUT-334
2 bugs were sent to Atlassian (one for Cloud and one for Server), but seems like Atlassian closed them out due to "Timing Out": https://jira.atlassian.com/browse/JSWCLOUD-16118
For now what can be done is check the "Epic Link" field through regular expressions. A4J allows you to type in the field name if it's not available and "match" it. Let me know if that helps.
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events