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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,046
Community Members
 
Community Events
176
Community Groups

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

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,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events