I recently upgraded to Jira 6.3.1, Misc Workflow Extensions add-on 3.5.1 and Script Runner add-on 3.0.3.
I've been using the fast-track post function of the Script Runner to transition an issue via a hidden transition—hidden by Misc Workflow Extensions' condition that hides the transition for users, but allows programmatic usage—since the upgrade fast-tracking no longer works when the transition is hidden, but does work if it is not.
Hidden transition's condition:
The fast-track post function:
Has something changed in either Script Runner or Misc Workflow Extensions add-ons that prevents fas-track post functions from seeing the hidden transition?
Any help is much appreciated.
I don't know why it used to work, but it makes sense to me that it doesn't work now.
Conditions can only return true or false, so the MWE condition will just return false for the current user. If the condition returns false then it's not available to fast-track.
I don't know what version of SR you upgraded from, perhaps previously it used some lower-level API to do the transition, and now it uses IssueService which checks that the transition is valid for the current user.
I can't think of a good way to handle this. Personally I think the issue is in MWE. If I think of something I'll get back...
David added an additional post-function that transitions an issue and gave me a snapshot version of his add-on. The new post-function is similar to the one he already had in the official version called Transition Parent Issue. It provides the same functionality as fast-track, but also respects the Hide Transition condition.
So unfortunately this solution isn't publicly available yet, but hopefully the new post-function will be included in a new release.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
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!
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