Background:
I have a transition called "Begin Estimation" which, when clicked, pops up a screen asking the user if they wish to "Skip the HLE" along with a checkbox field with one option "Yes". Using the "fast-track an issue" post function scriptrunner I've input the following:
cfValues['Skip_HLE?']*.value.contains("Yes")
I'm outputting a success message as follows;
import com.onresolve.scriptrunner.runner.util.UserMessageUtil
UserMessageUtil.success('HLE has been successfully skipped')
The status should be changed to a step that's about 8 steps through the workflow.
The problem:
I'm expecting the fast track to end up at a status 8 steps down the line but all I'm getting is the success message.
**Please note well that I have this post function at the bottom of the list so it fires last.
Please help, I've been banging my head on my desk for 2 days.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.