Timeboxed e-mail dispatch

Sven.H
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 11, 2014

Dear Community,

If possible, maybe someone has suggestions for implementing the following:

We’d like to have predefined e-mail messages sent to defined users based upon the due date of the sub-tasks in Jira. To be more precise, they are to be sent automatically after 1/3 and 2/3 of the time as defined in the individual sub-tasks has elapsed based on the timeframe between create date and due date.

Please note – Time Tracking is not active in our Jira-System.

Thanks for your support!

2 answers

1 accepted

0 votes
Answer accepted
ronsmeets August 14, 2014

Well, if you need to calculate 1/3 or 2/3 of the period between the two dates, you should consider using the Script Runner plugin to create a function for the calculation.

You can put the result into a custom field (p.e. date_to_send_email) of type Script Field.

Then you can define a JQL filter checking the date_to_send_email (equal to current date).

A group of people can then subscribe to this filter and get an email sent automatically for all the issues that the filter returns. The filter runs once every day.

If you are in a situation where you can simplify the requirements, you can just use the filter and filter subscription without using the Script Runner.

You could p.e. create a filter that selects all issues where the due-date < 3d. Then create a Filter Subscription for this filter with a daily schedule.

Subscribers to this filter will receive an email containing the issues that are returned by this filter on a regular basis.

0 votes
ronsmeets August 11, 2014

Hi Sven,

You could consider creating specific filters for this and use the functionality Filter Subscription to send emails to a set of interested users.

Sven.H
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 13, 2014

Hey Ron,

do you have an example for me?

Suggest an answer

Log in or Sign up to answer