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

Remove email subject prefix

BlueKai Support Aug 14, 2012

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

0 votes
Answer accepted
Jobin Kuruvilla [Go2Group] Community Leader Aug 14, 2012

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.

Guy Duncan Mar 01, 2018

Can this be done in JIRA Cloud?

0 votes
BlueKai Support Aug 22, 2012

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

0 votes
Jobin Kuruvilla [Go2Group] Community Leader Aug 23, 2012

Check SMTPMailServerImpl

0 votes
Harish Aug 23, 2012

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.

Ringo De Smet Jan 06, 2015

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

9,316 views 30 42
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