Forums

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

how can I send a notification based on the time an issue has been within a specific state

Carlos Ortega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2023

I would like to know how can send an alarm/notification when an issue has been within a specific state.

For instance, if a defect has been unsolved (in a state different than solved) for more than 15 days I would like that Jira can send an email telling me that that specific issue has broken an SLA

3 answers

0 votes
Carlos Ortega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2023

Thanks, Trudy and Mikael for the feedback.

I was thinking more in terms of doing that in an automatic way, (like what Mikael commented)  not by asking or manually performing a query, but automatically, like for instance programming that and that Jira verifies constantly (with no human intervention) if the time has passed and if it has reached 15 day in a state, then automatically send an email to a person saying that the issue just broke an SLA and something needs to be done to close it or change it's state.

0 votes
Trudy Claspill
Community Champion
July 5, 2023

Hello @Carlos Ortega 

You could accomplish this by creating a Filter to retrieve the issues, and setting up a subscription for the filter. For the specific use case you mentioned the filter would be

project in (X, Y, Z) and created < -15d and statusCategory != Done

If you want to eliminate issues that have transitioned to Done in the past 15 days and then been reopened use this:

project in (X, Y, Z) and created < -15d and statusCategory != Done and status WAS not IN ("Done") after -15d

0 votes
Mikael Sandberg
Community Champion
July 5, 2023

You can do this with automation, a scheduled rule that runs a JQL that returns all defects that are unsolved. The rule would compare the created date against now() to see if it has passed the number of days and if so notify either via email/Slack/Teams that the SLA has been breached.

Mikael Sandberg
Community Champion
July 5, 2023

There are examples in the documentation that shows you how to compare dates that you can find here.

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