Script Runner - JIRA 5.1

I m having some problems in JIRA 5.1 and script runner when the script trigger a event, some fields like status of the issue is not update correcty.

Do you know if it s a plugin incompability with the version?

4 answers

Not sure, but at least as per doc at Jamie's page, it is not supported for 5.1.

Another post Jamie respond that If my code is compatible would work fine, my code is compatible, but I m experience problems like I sent in the previous post...

Can you link to your previous post. I have released a 5.1 compatible version, but there is nothing significantly different from the previous version, so please can you detail the problem.

Jamie, sorry for delay, when I run any function that dispach a event like the function below, the status field is updated in the screen of view issue but in the issue navigator and any other gadget show the status before the transition.

I have to change all my scripts to not dispach events.


OK, but that's your code, not a problem with script runner. Don't have an answer off the top of my head, but I'm guessing that not dispatching an event means the issue doesn't get indexed, so you can either index it using IndexManager (loads of examples for that) or use IssueService.

Hi, Jamie, I m doing that, I saw some examples you post of this, but even index the issue, I had some problem with another script that post log, because the burndown in greenhopper and time tracking don t change, do you know anything else that I have to do to solve the burndown issue?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


279 views 0 7
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you