I just want to print the remoteissuelinkId when the remoteissuelink has a new status. I am writing a scriptrunner custom listener for this purpose.Below is the code:
import com.atlassian.jira.event.issue.link.RemoteIssueLinkUpdateEvent def event = event as RemoteIssueLinkUpdateEvent log.warn "Issue resolved: " + event.remoteIssueLinkId
Here the remote link is an issue on a JIRA instance which is hosted on a different server.
I am updating the status of the issue but the listener is not triggered.
Please let me know where am I going wrong.
That's not what RemoteIssueLinkUpdateEvent does... it fires when the link is modified, not when the remote issue is updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.