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: 

When field value changed - use regular expression

tal
May 25, 2021

Hi, I'm trying to send an email upon custom field change value to 'Yes' with no success. I guess the regular expression is not correct?

this is what I'm trying to do:

Field value changed:

Fields to monitor for changes*

#some custom field

to :

All issues operations

 

 

Advanced compare condition:

 

{{fieldChange.toString}}

Exactly matches regular expression

"Yes"

 

 

Send an email

 

HELP!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 25, 2021

Hi @tal

Could you share a screenshot of how you have configured the Advanced compare?

I suspect that you need to change your condition to be just the condition "contains" and if you have quotes around the yes then remove those as well.

Also, this is case sensitive as well so your case needs to match, or you need to add a .toLowerCase on your smart value.

Cheers,

Simeon.

tal
May 25, 2021

Screen Shot 2021-05-25 at 11.48.51.png

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 25, 2021

Hi @tal

It looks like you still have the yes wrapped in double quotes in your advanced compare?

TAGS
AUG Leaders

Atlassian Community Events