I am trying to use the Script Runner plugin section for Custom Listeners to fire an custom event when a particular custom field is updated, but i can't find any option in jira to create a custom event for triggering custom Listener
You need to fire the event in a transaction. You can find more info here:
I don't want to send notification, but i want to trigger a custom listener which i wrote in script listener when ever an custom field in the issue get updated.Is it possible to create a custom event to invoke a listener?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can throw an event with
IssueManager.updateIssue(ApplicationUser user, MutableIssue issue, UpdateIssueRequest updateIssueRequest)
You set an event in UpdateIssueRequest. But the event must be created first before you can throw it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But, I want to trigger updateIssue only if a particular custom field (says functionality) get updated.How to give this condition in updateIssue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems to me that the architecture of your application is too much complicated.
But you know better. You could create a listener on the Update Issue Event and check what fields changed. If the required field changed then you can raise an event. You can find more info here
Look at Sascha Becker answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>uh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.