The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

(Script Runner) Has custom field value equal to... post-function not working

Marco Colageo
Contributor
May 28, 2013

Hi,

dealing with a fast-track transition which whould be triggered based on the validation of a custom field.

Below is the condition used:

cfValues['Nato Classification'] == 'NATO Unclassified'

The fast-track transition is not triggered unfortunately.

Setting condition blank (True), the fast-track transition is triggered.

Note that the custom field I would like to use is a Select List.

Any suggestions?

Regards

Marco

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Marco Colageo
Contributor
May 28, 2013

FIXED simply using the getValue() function as follows:

cfValues['Nato Classification'].getValue() == 'NATO Unclassified'