Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

why isn't Epic link an available option for the "Field value changed" trigger?

Edited
Curt Holley Community Leader Aug 11, 2020

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?

2 answers

1 accepted

0 votes
Answer accepted

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 :)

Ste

Curt Holley Community Leader Aug 11, 2020

Yeah, i did play around with Issue updated and some JQL. Frankly I think you 'they" want is overkill and now we have Jira Premium, Advanced Roadmaps will help inspire changes in behaviour and their current need will go away.

Thanks again!

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 :)

Ste

Like Curt Holley likes this
Curt Holley Community Leader Aug 13, 2020

Thanks @Stephen Wright _Elabor8_ 

I got it working using {{changelog.Epic Link}} in the Advanced compare condition

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 @Erin Blomert 

Is the trigger the Epic Link being added? 

I find it can be easier to replicate the full rule; what are the other components (conditions, actions, etc)?

Ste

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.

Hi @Erin Blomert 

Is it a Next-Gen project, or a Classic project?

Ste

Hi @Erin Blomert 

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...

  • Related issue conditions
  • Branches

...but not found one that consistently triggers well for Next-Gen Epics!

Ste

Thanks for trying!  Kind of ridiculous that the functionality just randomly isn't there.

Hello @Curt Holley , are you using an add-on for this automation, such as Automation for JIRA or CPrime? Trying to understand from where you're trying to trigger this automation. 

Curt Holley Community Leader Aug 11, 2020

Using Automation for Jira on Cloud

Got it, looks like Automation for Jira has a bug filed for this issue: 

https://codebarrel.atlassian.net/browse/AUT-707

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.Screen Shot 2020-08-11 at 8.57.19 PM.png

Like Curt Holley likes this

Some more hints on how to "match" it would be much appriciated @Vivian Escalante  :-)

I tried "Epic Link" and it worked haha. Simply type it and hit enter. 

Curt Holley Community Leader Aug 11, 2020

You on Cloud Jira? as that does not work for me...Tried both Epic Link and "Epic Link"

@Curt Holley , sorry for the delay here. Unfortunately I'm not, but I see what you mean! I submitted an Atlassian ticket and will report back if they let me know about this. Thanks!

Like Curt Holley likes this
Curt Holley Community Leader Aug 13, 2020

Thanks @Vivian Escalante see accepted and my final comment

njhgh

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

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 ...

462 views 5 18
Read article

Community Events

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

Events near you