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

0 votes
Accepted answer

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 Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

415 views 0 3
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