Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation is not working

Shikha Verma
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.
March 1, 2023

I have created automation. If a customer comments as "Cancel" in the comments, that will move the ticket status to Cancel. However, the rule is working fine but failing in a negative scenario. Even if a customer types something else then, also the automation fires and updates the ticket status to Cancel.Screenshot at Mar 02 02-26-51.png

1 answer

1 accepted

4 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 1, 2023

Hello @Shikha Verma 

You need to remove the curly braces around Cancel in that comparison. The curly braces tell the Automation rule that is a smart value. If you want to see if the comment body contains the literal text Cancel then remove the curly braces.

Shikha Verma
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.
March 2, 2023 edited

Hello Trudy, thanks for the response. The solution which you have provided worked for me. 

One additional question: what if we need to check both the lower and upper case for the Cancel? Right now, it's not working if a customer types in cancel instead of Cancel. I tried adding by putting (Cancel, cancel) and (Cancel | cancel)  but it didn't work.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 2, 2023

I think this post might help you solve your problem.

https://community.atlassian.com/t5/Jira-questions/automation-Advanced-compare-quot-or-quot-condition/qaq-p/1815711

Or you could try using the contains regular expression comparison

Shikha Verma
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.
March 3, 2023

Thanks, Trudy, for the help! It’s working fine. 

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2023

Hello @Shikha Verma 

For the benefit of other users that may find this post, can you show the solution you implemented?

Also, please consider marking the Answer thread as Accepted to help other users find posts with working solutions.

Shikha Verma
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.
March 3, 2023

Screenshot at Mar 04 00-22-10.png

Like • Trudy Claspill likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Service Management Events