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: 

Automation to match literal value

Dima Astahov
Contributor
June 3, 2024

Hi,

I'm  trying   Automation for simple case with Condition = Contains  string   (without regular expressions) and it doesn't   work. says condition is not met even I typed exactly second value. Should I use any  braces/quotes? 

What is the trick, I learned that Jira is very special.

Please refer to the pic below, I have trigger but No Actions performed.

J2.jpg

I'm on Jira Cloud. 

Thanks

D

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Trudy P Claspill
Community Champion
June 3, 2024

Hello @Dima Astahov 

The results suggest that the Comment addition that triggered the rule is for a Comment that does not contain the text "testDA" as a separate word.

I recommend that you use the Log action to print the entire {{comment.body}} value into the rule execution audit log to check what the actual content is.

Dima Astahov
Contributor
June 3, 2024

Thanks !!!

3 votes
Kalyan Sattaluri
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 Champions.
June 3, 2024

@Dima Astahov  Hard to tell but looks like a typo in your smart value?

Can you confirm its {{comment.body}} and not {{cpmment.body}}

Trudy P Claspill
Community Champion
June 3, 2024

Great catch! I thought that was just my monitor needing to be cleaned. :-)

Like Kalyan Sattaluri likes this
Dima Astahov
Contributor
June 3, 2024

Thanks Kalyan !!! Thanks guys !!!!  
for your sharp eyes !!! Problem solved..

 

@Trudy that was exactly what I was thinking-) , saw it as dust on my LCD.

 

Dima Astahov
Contributor
June 3, 2024

Wish it was more contrast on my default color schema, switching into black theme

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events