Bug? with script runner after upgrading to jira 6.3.6


I'm using "Fast track an issue" built in script from script runner to automatically transition issues. 

After upgrading to JIRA 6.3.6, I'm getting the following error whenever the transition is "hidden" ( Using "Hide Transition" condition from "JIRA Misc Workflow Extensions" 

"Error Messages: [It seems that you have tried to perform a workflow operation (Setup Cloned Fields) that is not valid for the current state of this issue (IC-25857). The likely cause is that somebody has changed the issue recently, please look at the issue history for details.] " 

It worked perfectly before the upgrade. 


Any idea how can I solve this issue as it really affecting my users. 

3 answers

I think this is a bug with JMWE... maybe @David [Innovalog] can help.

After quite a lot of looking at this, I see that the condition examines the current stack and fails if called from AbstractWorkflow.getAvailableActions.

However issueService.validateTransition eventually calls this function:

at com.atlassian.jira.workflow.IssueWorkflowManagerImpl.getAvailableActionIds(IssueWorkflowManagerImpl.java:186)
	  at com.atlassian.jira.workflow.IssueWorkflowManagerImpl.isValidAction(IssueWorkflowManagerImpl.java:173)
	  at com.atlassian.jira.bc.issue.DefaultIssueService.validateTransition(DefaultIssueService.java:424)
	  at com.atlassian.jira.bc.issue.DefaultIssueService.validateTransition(DefaultIssueService.java:386)

So I am not going to do anything to work around this...


I believe this is https://innovalog.atlassian.net/browse/JMWE-255, which is fixed in the upcoming 3.5.2 version. A SNAPSHOT version is attached to the issue.

Sorry for the inconvenience. 

Upgraded from what version? We've discussed this before here, I don't think it's a bug, and am a bit reluctant to override the security. It's not really that the action is hidden, it's that the conditions don't pass, so it's not a valid transition. But if it's affecting multiple people we can work out a way to get round this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: https://www.icloud.com/keynote/0RyJ4VEdNUpjDpGfMhfZx9fEg#Confluence_Security_Advisor More details: https://co...

43 views 1 0
View post

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