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?
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.
Hi @Functioneel Beheer Schadefonds
I am not following what you are asking as your need. Perhaps if you...
Thanks, and kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.