Notification when a Due Date is near or past

Hi, I have created a "Task" Issue Type and would like an e-mail to be sent two days prior to a Due Date if the Status = Open or In Progress. Then another e-mail if the Due Date has past. Is that possible?

Thank you in advance for your time and assistance

7 answers

1 accepted

10 votes
Accepted answer

Jobin, there is a trick for that. Along with adding the condition, assignee = currentUser() anyone can do a group subscription (for whichever groups, even for jira-users) and the people will receive their own tickets which are reaching the due date in their mail.

Awesome. I was thinking about it but never tested it before. Jill, that should do it.

I thought the idea was, that me as JIRA Admin sets up this subscription for the group "jira-users" so that all users will receive daily reminders for overdue tickets. But I can´t set up a subscription for the group but only for me as user. Where would I set up a subscription for a group?

How do you add a condition? Is this somewhere on the issue view/page? How to manage group subscriptions?

The condition is in the filter definition.  If you have a filter (advanced, not basic) that include 'assignee = currentUser()', it will only show you tasks that are assigned to you.  Once you create the filter and make it visible to whomever you want to get the email, you can then subscribe to it for the group you want to recieve it, and each user in the group will get the email for the saved filter, with just the tasks assigned to themselves.  


Pretty slick.    +1 Renjith

6 votes

You can create a filter to get this result and subscribe it to mail.

The filter will have JQL similar to this:

issuetype = "Task" and Status in ("Open", "In Progress") and duedate >= -2d

For past due:

issuetype = "Task" and Status in ("Open", "In Progress") and duedate >= now()

You will have ask everyone to subscribe. You can't send it to assignee alone.

Actually, you can create a filter which includes assignee = currentUser() and share it with users. Then ask them to subscribe!


How do I have the e-mail go to the Assignee?

That will be a problem, as people will not subscribe. But thanks for your help.

I think that the past due should be

issuetype = "Task" and Status in ("Open", "In Progress") and duedate <= now()

I think that the past due query should actually be

issuetype = "Task" and Status in ("Open", "In Progress") and duedate <= now()

(comparison is backward)


You have maybe solved this already, but maybe it is worth taking a look at the Notification Assistant for JIRA:

Hope it helps

Hi Vishail

I try to use your Jelly however my installation we dont hause the email in the username. the email is only stored in the email field. How can i modify the script to add the email at the line below?

<email:email server="" from="jira <at>" to="${issue.assignee}" subject="[JIRA] Change Due: ${issue.key}">

Is the email field a custom field? If yes, try this:

<!-- Get CustomFieldObject from customFieldManager -->

<core:invoke on="${customFieldManager}" method="getCustomFieldObject" var="customFieldObj">

<core:arg type="java.lang.String" value="YOUR_EMAIL_CUSTOMFIELD_ID"/>


<core:forEach var="issue" items="${issues}">

<!-- Get the Issue from IssueManager -->

<core:invoke on="${issueManager}" method="getIssueObject" var="issueKey">

<core:arg type="java.lang.String" value="${issue.key}"/>


<!-- Get Custom Field Value -->

<core:invoke on="${customFieldObj}" method="getValue" var="EMAIL">

<core:arg type="com.atlassian.jira.issue.IssueImpl" value="${issueKey}"/>


Hope this helps.


You can try Jirassimo notifications digested messaging to receive periodical warnings on issues where deadline is approaching or is missed. Check it out


@Vladimir Horev [Raley], please make sure you review our marketplace guidelines for vendors. 

I'll clarify this in the guidelines, but resurrecting a bunch of old threads to promote your plugin isn't quite within the spirit of the guidelines. Please be a bit more conservative about this type of promotion.


@Monique van den Berg, thank you for referring to the 1 year policy. We were not quite aware of that.


No problem @Vladimir Horev [Raley] -- I added more explicit language around this in the guidelines to make sure it was clear. Thanks for understanding!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

45 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you