So, I ran a simple script in a test instance and couldn't reproduce this problem.
log.debug("Issue updated event fired") log.debug(event.getIssue().key)
Set that to run on the Issue Updated event, and got the responses I expected.
Maybe some more details would be illuminating? What was the nature of your update, JIRA and ScriptRunner versions, etc.?
Thanks,for update. But my concern is not on simple issue update. But if we apply some filter and got some number of issues say 23 issues are listed. Now to apply some changes we can bulk update all issues under Tools-> Bulk changes all 23 issues. In that situation if we update all 23 issues simultaneously, this IssueUpdate script will not run.
I hear you, but I'm saying I was able to do a bulk update, just as you did, and an IssueUpdated event fired for all of the issues in the bulk update.
We'll need some more details to figure out why it's not working in your case.
The most helpful thing would be the code of your script (maybe the script is running, but not providing the output you expect). Second most helpful would be why you think the event isn't firing. What behaviour do you expect from your script that you're not seeing?
Also, details on any troubleshooting steps you've taken would help. For example, have you tried putting log.warn statements in your script and seeing if those come up in the JIRA logs?
Q: The issueUpdate event is not getting triggered when we move issue from one state to another state. That is, suppose if we move the issue from To Do to In Progress state, issueUpdate event is not getting triggered even though some of the fields are getting updated during transition.
See the comment thread at In Jira Notification Schemes, what does the event "Issue Updated" cover?.
Basically, whether an issue transition fires the Issue Updated event or not is dependent on the workflow.
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...
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!
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