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

fabio marcelo
Contributor
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
Contributor
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
Contributor
May 28, 2013

Hi Fabio,

did you get the 'set comment' option working?

Cheers

Marco

fabio marcelo
Contributor
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
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events