Send notification when issue is inactive for X days

toddbaker August 10, 2011

Is it possible to configure Jira to send a notification email to the assignee when an unresolved issue hasnt been updated for X days?

I cant seem to find anything in notifications to support this.

Thanks

4 answers

1 accepted

6 votes
Answer accepted
Jon Cotter
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.
August 10, 2011

You can also use the filters / subscriptions to do this.

http://confluence.atlassian.com/display/JIRA/Receiving+Search+Results+via+Email

By using a combination of a group in the subscription and currentUser() in your JQL you can get jira to do what you want.

Here is a similar example that I use to notify people that they have issues in progress or blocked and they should attend the daily scrum.

My JQL is this:

project = SDC AND issuetype in standardIssueTypes() AND reporter = currentUser() AND fixVersion in unreleasedVersions() AND status in ("In Progress", Blocked)

and my subscription looks like this: (go here if you can't make out the image well)

Jon Cotter
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.
August 10, 2011

In case it isnt clear... what this does is loop through jira-users and emails anyone a ticket that they are a reporter on. Each member of the group only gets the issues that they are the reporter on.

You would do the exact same thing, just in your JQL you would use assignee = currentUser() and updated > "4d"


toddbaker August 10, 2011

awesome, thanks Jon!

toddbaker August 10, 2011

Interesting..so that will only notify users of the issues they are assigned to?

Jon Cotter
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.
August 10, 2011

Here is what the email looks like (also available here):

toddbaker August 11, 2011

Just as a follow up.. The search I ended up with was the following:

status!=Closed and assignee = currentUser() and updated < "-2w"

It grabs all non closed isses over 2 weeks old.

Thanks Jon

Reddy Muche September 27, 2017

1.created a filter but i want to send that result to paticlur assigne only (is that possible)

 

 

2.is that possible to add a transaction to all results 

for example if i need to add watcher to tickets which are not updated for 3 days (is that possible)  if possible how

 

 

Thanks

Nandan

3 votes
justindowning
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.
August 10, 2011

Sure, just create a Jelly script that looks at a filter that meets your criteria (inactive for X days) and set that it up as a recurring service. I wrote one up for this very example: http://pastebin.com/dvLqDjWr

1 vote
daniel.alonso May 22, 2019

Images are not available, can you update the link please?

0 votes
Bruce Boutet August 2, 2013

Jon,

Ingenious solution.

Thanks for sharing.

Suggest an answer

Log in or Sign up to answer