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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Reopen automation doesn't exclude words in email

I got a reopen automation rule where the issue is reopened after a new comment is made. It should exclude different forms thank. So I made a advanced compare condition that compares {{comment.body}} with a regex containing thank with the condition does not contain. If someone comments with thanks through Jira on the issue the rule is blocked. The problem is when someone reacts to a mail and that one is scraped and put in a comment. In the audit log the email reaction with thanks goes through and the automation is a succes. Do I need a different field when a email is made into a comment?

2 answers

1 accepted

The problem was not being a email, but it was in the compare two values. I had it on does not match regular expression, but that only triggered in some cases. I needed a does not contain. I solved it by having it by making the condition "contains regular expression" and rewrite the regex with negative look ahead by adding "?!".


compare two values checks if:

{{comment.body}} contains regex ^(?i)(?![^,]*dank[^,]*|[^,]*thank[^,]*)


Now the rule fails if a comment contains a form thanks.

0 votes
Bill Sheboy
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.
Dec 13, 2022

Hi @Functioneel Beheer Schadefonds 

I am not following what you are asking as your need.  Perhaps if you...

  • post images of your complete automation rule and
  • the audit log details showing the execution, and
  • explain how it does not work as you expect...that will provide context for the community to offer suggestions

Thanks, and kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events