What can be used instead of IssueLinkCreatedEvent and IssueLinkDeletedEvent in lower jira versions?

The script is not executed when an issue link is deleted or created in lower jira versions. Somewhere I read that there is an IssueLinkDeletedEvent and IssueLinkCreatedEvent for JIRA 7.5. But I am using a lower version. How can I execute my script when an issue link is created or deleted?

1 answer

1 accepted

This widget could not be displayed.

Sabin. What version are you using?

Hi @Daniel Yelamos [Adaptavist], I am using JIRA 7.3.8.

Right. So those events were only added in 7.5 as I'm sure you know.

The work around would be to use issueUpdated event and to within the event, see the field that has been updated and only if it is the link field, then do something.

You could do something like that using the data from this community question.

Does that help at all?

Cheers!

Dyelamos

@Daniel Yelamos [Adaptavist] Does creating and deleting issue link will invoke issueUpdatedEvent?

Yes ofc, else I wouldn't have recommended this to you sir...

Cheers!

DYelamos

@Daniel Yelamos [Adaptavist] I tried it but failed. The script is not executed when an epic link is added to story. I have this same issue :- 

 https://community.atlassian.com/t5/Answers-Developer-Questions/Why-linking-an-issue-is-not-triggering-an-event-Listener/qaq-p/529456

If this is like my coworkers say. Best bet you have is an upgrade.

I'm sorry I can't be of much more help.

Regards

Dyelamos

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

531 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you