Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Possible to get IssueCreated notification mail format

Hi,

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

1 answer

Hi @Piyush 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

245 views 1 5
Read article

Community Events

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

Events near you