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

fabio marcelo May 28, 2013

Hi all,

I have a custom field from type Multi select called "Affected Areas".

i would like that when the option "Training" was choosed one notification was send to a person:

I tried it , but it s not working:

cfValues['Affected Areas'].getValue() == 'Training'

Please could you help me ?

Thanks in Advance

Best Regards

Fabio

2 answers

1 accepted

1 vote
Answer accepted
Tsol
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2013

Check the question Validate multi select customfield in transition.

I think your condition should be like:

cfValues["cf_name"]*.value.contains("Some value")

Hope that helps,

Cheers

fabio marcelo May 28, 2013

Hi Kostas,

It worked.

Thanks a lot

Best Regards

Fabio

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2013
0 votes
Marco Colageo May 28, 2013

Hi Fabio,

did you get the 'set comment' option working?

Cheers

Marco

fabio marcelo May 28, 2013

Hi Fox,

Sorry i didn t understand your question.

Best Regards

Fabio

Suggest an answer

Log in or Sign up to answer