Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue Update event not getting triggered on bulk Update

While I was trying to run a script using Script Runner on Issue Update event, came across that the issue update event is not getting triggered on bulk Update in JIRA.

8 answers

So, I ran a simple script in a test instance and couldn't reproduce this problem. 

log.debug("Issue updated event fired")

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? statement was misleading.

Actually, on transitions, the issueUpdate is not getting triggered. Any how the transition comes under IssueUpdate event right?

I'm still confused. I think you may need to start from the beginning and explain in detail what the problem is, and what behaviour you're expecting. Edit to the question wouldn't go awry.

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 guys, 

Coming back after 4 years with same question. Let me explain the scenario @Aashish R @Jonny Carter 

So we have a scheduler on SCRIPTRUNNER which will run at a particular time (assume 00:00) and it's task is to bulk update issues. The issues that I'm fetching are based on JQL. So I run a JQL and get some issues -> put a loop -> edit issue -> update some field. 

We also have a listener which listens to ISSUE_UPDATE event on SCRIPTRUNNER and updates the a particular custom field with a new value. 

Question is:

Whenever the Scheduler runs and tries to update issues in bulk it must trigger our listener and update with new values.   

But our listener is triggering only on manual bulk issue update (i.e issue navigator -> tools -> bulk edit issues) and not when our scheduler runs. I'm expecting it to update all issues with respective new values (that we get on doing some calculation) when scheduler runs.

Stuck at this. What do you suggest? 

P.S: We are on implementing this on JIRA server. 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

492 views 6 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you