Forums

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

How should I handle LinkChangeEvent

Mikhail Kouyantsev
Contributor
September 14, 2021

Hello everybody.
I have to handle LinkChangeEvent, fired by ALM Structure for Jira plugin when the link between two issues changes. Usually I use Script runner and create a custom listener for the event type I have. But in this case I don't see a "LinkChangeEvent" in a list of events available. How should I make it?
Any help will be welcome. 

1 answer

1 accepted

1 vote
Answer accepted
Dionathan Lopes {ALM Works}
Atlassian Partner
September 14, 2021

Hello @Mikhail Kouyantsev ,

Thank you for sharing your Structure question here on the Atlassian Community.

By default, Structure does not trigger IssueLinkCreatedEvent when creating new links. This is for performance considerations as it is possible to update multiple links at once.

However, a Jira Administrator can enable Structure to trigger events by setting structure.bulkLinkProcessor.useLinkManager dark feature to true (plugin restart needed).

Please try to keep bulk editing of these links to under 100 at a time.

Setting dark features is possible through advanced configuration

Please, let me know if the above helps. 
 

Best regards,
Dionathan L.
www.almworks.com

Mikhail Kouyantsev
Contributor
September 15, 2021

Wow! Thanks a lot! I will try this.

Mikhail Kouyantsev
Contributor
September 20, 2021

Thank You very much, Dionathan! It works!

Suggest an answer

Log in or Sign up to answer