Email template editing

Hi Team,

I require to change email template in JIRA, In that template while sending an email I need to add one more custom field in the body of email.

Can it be possible?

Regards, Nidhi

3 answers

For our company we use JIRA cloud together with Jirassimo plugin.

It allows us to have very custom emails and templates (not only emails, as we mainly use Slack for communications)

Hi Sash, I am not working on Cloud instane, this plugin is not supported for server.

 

Nic..

 

I have tried the same solution but its not affecting email template.

 

The field which I wish to add in the template is not there in every project in JIRA, its present in few of the projects? Is it happening because of that?

 

Its not adding the field in any project,

Well, if the field isn't there, it won't come out, but it won't break it for every project just because the field only exists in one project (you may have errors in your logs when sending mails, but no lost info) When you've changed the templates, have you restarted JIRA? And does the field have data for your example data?

Yes restarted and that field was having value as well.

That suggests that your code changes are wrong.

Hi Nic, its not breaking anything but once I am doing changes to issue created or commented velocity template, it Is not reflecting changes email template of in that project which is using that custom field.

That still just suggests that your code is wrong. It's not working. It's in the wrong place, or not pulling values that can be output. Simple test - try changing a template and hard-coding a clear sentence in it rather than a field. No ifs, variables calls etc, just a block of text. Does that come out? If it does, then your field code is broken. If it does not, then you're coding in the wrong place.

yeah i added string its not showing that as well, everything is done as per the steps. placed code restarted jira , created issue. https://developer.atlassian.com/jiradev/jira-platform/jira-architecture/jira-templates-and-jsps/adding-custom-fields-to-email not sure where it is missing

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

20 views 0 3
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