Question about Creating new email templates jira

Just a quick overview of what i'm trying to do:

Basically we are splitting our IT service desk into a seperate notification scheme. They are wanting to customize emails specifically for this project. Just starting out i've tried to just create a new "issuecreated.vm" calling it "itissuecreated.vm" in the 3 directories (html, subject, text). Added it to the email-template-id-mappings.xml, restarted the instance.

When i went to notification schemes to add the specific notification, it doesn't exist in the drop down. Obviously i'm missing someting, can someone point me in the right direction. We'd like to customize multiple events for the IT Help Desk so any help would be appreciated.


3 answers

0 votes

Modify the atlassian-jira/WEB-INF/classes/email-template-id-mappings.xml file to include your new template. You can then use it while creating a custom event. Use the custom event in the notifications.

The custom events were still needing to be created. I believe this got me on the right track though, thanks for the help.

Hey guys, just a question about this, when I want to add my new template to the xml file, what id must I use?

I see that the values that are already in the file, start with id=1 to id=17, then, there is a comment saying this:

         This is not mapped to an event type, these are the templates that are used when generating
         the mails sent out for filter subscriptions. The id has changed from 14 to 10000 in JIRA 3.8.

and a las entry with id = 1000.

So, can I use whatever id here? (different from the ones in use of course)

Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,284 views 5 10
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