Forums

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

Send Notification when a ticket is in certain status for 4 hours?

Hizkeel Khan
Contributor
November 23, 2023

Hi,

I need to send notification to the developer when the ticket is in Code Review status for 4 hours. 

Scenario: Ticket is moved from In Progress to Code Review status. Ticket is currently in code review status for 4 hours. Want to notify the developer who is doing the code review process. 

I want to do this through automation rules. 


Let me know how this can be done. 

 

1 answer

1 accepted

4 votes
Answer accepted
Ste Wright
Community Champion
November 23, 2023

Hi @Hizkeel Khan 

This should work:

  • Trigger: Scheduled
    • Run rule every = 1 Hours
    • Run a JQL search... = TRUE (checkbox)
      • JQL - status = "Code Review" and status changed BEFORE -4h
    • Only include issues that have changed... = FALSE (checkbox)
  • Action: Send Email or Comment on Issue
    • Populate details as needed

---

A few notes...

  • You can change the "run rule every" timeframe if you prefer, eg. run it every 15 minutes
  • You can also change the JQL, eg. if you wanted it to activate on 3 hours and 59 minutes, you could use -239m instead
  • Smart values will work in either of the two actions; for example, if the Developer is the Assignee, you could @ mention them using [~accountid:{{issue.assignee.accountId}}]

---

Let us know if this works for you :)

Ste

Hizkeel Khan
Contributor
November 23, 2023

Thank you for the help. This is what I needed. Appreciated!

Like Ste Wright likes this

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