Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't send an e-mail when in transition to closed

Bianca de Weerd
Contributor
November 18, 2025

I have 2 automation rules for e-mails:

1. update issue, when adding a public comment an email is sent to customer

2 closure issue, when an issue is closed a closure email is sent to customer. 

In the second option, in the transition from status X to closed, I have a comment field. I don't want to trigger the update issue, but only the closure issue.

Thanks

 

2 answers

1 vote
Christos Markoulatos
Community Champion
November 18, 2025

Hey @Bianca de Weerd  😊

I believe you can handle this by adding a simple condition to your first rule so it only runs when the issue is not Closed. That way, if you add a comment during the X → Closed transition, the “public comment” rule won’t fire, and only your closure email rule will. The easiest way is: in Rule 1, after the Issue commented trigger, add an Issue fields condition like “Status != Closed.” Alternatively, you could make the transition comment internal (via JSM settings) or use smart values to check the previous status if you need more control.

Hope this helps!

Bianca de Weerd
Contributor
November 18, 2025

problem is that when adding the comment the issue isn't closed. It's in transition to close.

Christos Markoulatos
Community Champion
November 19, 2025

hmmm then try this, instead of relying on the current status, use the Issue transitioned trigger for your closure email rule and remove the comment trigger entirely for that case. For the “public comment” rule, add an Advanced compare condition using smart values like: 

{{changelog.status.toString}} != Closed

This checks the status change in the event payload, not the current status, so if the comment came with a transition to Closed, the rule won’t fire.

Screenshot 2025-11-19 122242.png

1 vote
arielei
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.
November 18, 2025

Hey @Bianca de Weerd 

If i understand correctly, your automation is listening to value change for the comment feld.

So, you need to change the second automation to work on Transition to Closed.

 

Let me know if it works for you.

Ariel.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events