Forums

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

How can I create an automation rule that run when the status changes to "done"?

אביטל ווליק
June 26, 2023

I want to create an automation rule that writes a comment in a Story issue
type when the status changed to “Done”. The comment should state who closed the issue and when.

 

1 answer

2 votes
Ste Wright
Community Champion
June 26, 2023

Hi @אביטל ווליק 

This rule should work:

  • Trigger: Issue Transitioned
    • To Status = Done
  • Action: Comment on Issue
    • See text below...

---

Hello, this issue was closed!

It was closed at {{resolved.shortDate}}

It was closed by {{initiator.displayName}}

---

A few notes...

  • This rule uses smart values
  • The closure of the issue is the trigger for the rule, so we can refer to the "initiator" of the rule as the user who closed the issue
  • {{initiator}} is showing who activated the rule
  • {{resolved}} shows the date the issue was resolved (i.e closed) - you can change how the date is visualised using the date formats on this help page

---

Let us know if this works for you!

Ste

Suggest an answer

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

Atlassian Community Events