Hi, Is it possible to create an email notification to the DueDate validation?

I mean when the DueDate is more than 2 weeks from the SystemDate then an Email notification must be send to the Project Lead.

3 answers

You can create a filter with the Due Date criteria and create a subscription. The project lead can subscribe himself for getting this notification. Also if you and the project lead belongs to a common group, you could also create a group subscription for the filter.


Hi ,

You can create a Jira service which does this .

Thank you,but can you ellobarate please

You can create a service which checks the due date of the issues if its more than 2 weeks then a mail is sent to the Project lead . This mail can be a comment on that specific issue . so you actually need to automatically add a comment on this jira issue mentioning a message that 2 weeks has past the issue is due .

Hope it helps :)

You can use jelly script as a service .. have a look at this similar sample jelly service


if you dont have to create via service then you can try this approach where i have defined the webwork entry in the atlassianplugin.xml.

now you can get the required Due date from the class .

for your vm file you can simply add the code and send the email to project manager as it is a type of user.

SmtpClient client = new SmtpClient("mail.xxxxx.xxx");
PrintStream message = client.startMessage();
message.println("To: " + to);
message.println("Subject: Sending email from test!");
message.println("This was sent from a page!");
catch (IOException e){
System.out.println("ERROR SENDING EMAIL:"+e);

may be you have to make certairn changes to code.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


223 views 0 6
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