I mean when the DueDate is more than 2 weeks from the SystemDate then an Email notification must be send to the Project Lead.
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.
http://confluence.atlassian.com/display/JIRA/Receiving+Search+Results+via+Email
Hi,
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.
try{
SmtpClient client = new SmtpClient("mail.xxxxx.xxx");
client.from(from);
client.to(to);
PrintStream message = client.startMessage();
message.println("To: " + to);
message.println("Subject: Sending email from test!");
message.println("This was sent from a page!");
message.println();
message.println();
message.println();
client.closeServer();
}
catch (IOException e){
System.out.println("ERROR SENDING EMAIL:"+e);
}
may be you have to make certairn changes to code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can create a Jira service which does this .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use jelly script as a service .. have a look at this similar sample jelly service
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.