what i am asking is I have written a script Listener for automatic due notification and i have done it but the problem is i missed something in that and the notification i am like this
1. Issue key: AB
But i need the mail like this
1. Issue key: DPMZ
while clicking on the issue key it will navigate me to the issue.
I do so in a script listener like this:
//Append an issue number to this string to get a link to the request in Jira
String jiraBaseUrl = "https://myjira.com/browse/"
String body = "blah blah blah" + "<a href=\"" + jiraBaseUrl + issue.key + "\">" + issue.key + "</a>" + "blah blah blah"
def sendEmail(String recipientEmailAddress,String subject,String body)
email = new Email(recipientEmailAddress)
smqi = new SingleMailQueueItem(email)
Hope that helps!
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events