Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Possible to get IssueCreated notification mail format

Piyush_Annadate
Contributor
November 4, 2019

Hi,

Using ScriptRunner listner - possible to get the issueCreated mail format and send it to other mailBox?

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
John Chin
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.
May 9, 2021

Hi @Piyush_Annadate 

Unfortunately, not possible at the moment. However, you can design the issue creation email template to the similar as JIRA default email template or with your own custom design.

For example, put the Email format to HTML:

screenshot-2.png

Apply the sample script below in the Email Template field:

Hey,

<% String baseUrl = com.atlassian.jira.component.ComponentAccessor.applicationProperties.getString("jira.baseurl") %>
<% baseUrl = baseUrl+"/browse/"+issue.key%>

<br>
<br>

The ${issue.issueType.name} <a href="<%out <<baseUrl %>">${issue.key}</a> has been Created.

<br>
<br>
Summary: ${issue.summary}

<br>
<br>

Regards,
<br>${issue.reporter?.displayName}

At the results, you will get something like this:

screenshot-1.png

You can beautify the email format that suit your needs. Also, you can pull more fields information to display in the email template.

I hope this helps.

TAGS
AUG Leaders

Atlassian Community Events