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

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

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

524 views 3 19
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