Remove email subject prefix

In Administration -> Outgoing Mail, is there a way to have no email prefix?

On our 5.1 instance, that field is required. "You must specify an email prefix"

The templates already contain the Event type and Summary by default.

There's no reason why we need [JIRA] there, especially as we need the space to customizing the subject with more fileds, like Priority.

thanks!

4 answers

1 accepted

This widget could not be displayed.

You will need to modify the JIRA source to do this because JIRA appends that late in the process. It doesn't come from any templates.

Can this be done in JIRA Cloud?

This widget could not be displayed.

If anybody knows what file to edit, that'd be really helpful.

This widget could not be displayed.

Check SMTPMailServerImpl

This widget could not be displayed.

Hi bk-sprt,

Try this:

To customize the email- subject:

We need to make changes inthe templates of the email structure.
The Templates are avaialable inthe path /<installation-directory>/atlassian-jira/WEB-INF/classes/templates/email/
Under this directory we have directory 'subject'
which conatins the templates for the email subject.
Based on different events, there are different templates (.vm files)
Open the required template file (.vm file) and edit the file.

Sample customized email subject for issuecreated.vm file :

$issue.key_ $issue.getCustomFieldValue("customfield_10004")_$issue.getCustomFieldValue("customfield_10002")_$issue.summary

Thanks,

Harish.

Harish, I downvoted your answer as it is not related to the question. The email prefix is set in the outgoing mail server configuration, not in the velocity templates.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

262 views 5 0
Join discussion

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