Forums

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

Need to send an email when a issue is added to an epic

Jeremy Schrecengost
Contributor
June 13, 2018

I am trying to figure out how to send an email when an issue is added to an epic. I have already written a groovy script on issue create to send an email if the new issue is in the epic but I cannot get one to work for tickets that are added to the epic after creation.

 

The main problem is there is a JIRA bug https://jira.atlassian.com/browse/JSWSERVER-12299 that states just editing an epic will not trigger an "Issue Updated" listener.

 

Does anyone have any thoughts on how I can send an email when something is added to the epic?

1 answer

0 votes
Alexey Matveev
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.
June 13, 2018

Hello,

Try to catch the IssueLinkCreatedEvent event.

Jeremy Schrecengost
Contributor
June 13, 2018

will that trigger if I am changing the ticket from epic1 to epic2?

Alexey Matveev
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.
June 13, 2018

I think so. Because the Epic Link field creates a link called Epic Link. Try to catch the event I mentioned above.

Jeremy Schrecengost
Contributor
June 13, 2018

ugh those were added in 7.5 but I am on 7.3

Alexey Matveev
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.
June 13, 2018

Try to make a listener for all events and have a look if it is triggered. If it is triggered, you can find later the event.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events