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...

https://answers.atlassian.com/questions/69202/does-anybody-knows-when-script-runner-will-be-available-for-jira-5-1

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.

IssueManager.updateIssue(remoteUser,issuelinked,EventDispatchOption.DO_NOT_DISPATCH,false)

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

73 views 0 5
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