Bug? with script runner after upgrading to jira 6.3.6

Hi, 

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

1 vote

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. 

thanks David.

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

47 views 1 6
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