Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scrip runner - Fast-track transition an issue not working properly

Darren Weaver
Contributor
January 28, 2019

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.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events