How Do i send an email when the due date is reached?

Ricardo Calzada October 23, 2011

Hi,

Do you know How Can I send an email when the due date is reached?

I will appreciate any help on this.

Ricardo Calzada

4 answers

1 accepted

3 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.
October 23, 2011

I would do this:

1. set up a filter: project = xxxx AND due <= now() ORDER BY due DESC, key DESC

2. set up a subscription on that filter that runs once a day

You can get a little more advanced on who it sends to by using the currentUser() variable in your filter and iterating through a group (or even all jira-users)

Let me know if you want more detail.

Ricardo Calzada October 23, 2011

Great, I tested it and works ok! How do I include the currentuser() variable. I already used a Group to send the emails.

Thanks a lot for your help.

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.
October 23, 2011

can you describe who you want to receive the email? Everyone in the group? or just the reporter or assignee on the ticket? or both?

Ricardo Calzada October 23, 2011

It will be great if the email can be sent to "Everyone in the group" and "assignee"

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.
October 23, 2011

is the assignee always in the group? or not always?

Ricardo Calzada October 23, 2011

The assigne is not in the group.

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.
October 24, 2011

similar to this post: https://answers.atlassian.com/questions/6390/send-notification-when-issue-is-inactive-for-x-days

you will want to set up a 2nd filter: project = xxxx AND due <= now() and assignee = currentuser() ORDER BY due DESC, key DESC and create a separate subscription for that and choose jira-users (or whatever group all the possible assignees can be found in) as the recipients.

this acts as a "for..." loop and steps the filter through each member of the Recipents group, and any member that it matches as the assignee will recieve a notification. any user that doenst have any issues, wont recieve any emails.

In summary... you will have 2 filter/notifications set up. 1 that notifies the group of any due issues, and a 2nd that notifies the assignees of their due issues.

If you want to do any more advanced processing than this... or perform any time based actions... you will want to go with Nic's solution below, which gives you more power to perform advanced actions, but is also a bit more technical.

hope that helps. feel free to ask any more questions

Like Nam Lam likes this
0 votes
David Toussaint [Communardo]
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.
April 28, 2013

As John Cotter pointed out above creating a filter is the way to go. If you (or your users) do not want to mess with JQL and filters you could also just use the JIRA Plugin 'RemindMe' that does exactly this.

0 votes
vishwash kumar February 8, 2012

if due date is set after 3 days. i want 2 receive notification when due date is reached and afterward at 6:30 PM until and unlesissue is not closed. do u have any idea how it will be done ?

thnx

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2011

See also http://confluence.atlassian.com/display/JIRA044/Jelly+Escalation for some more advanced options around automatically sending emails and updating issues (without subscriptions)

Ricardo Calzada October 23, 2011

Iwill check this option, thanks a lot for your help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events