• Community
  • Products
  • Jira
  • Questions
  • How to edit the subject of Jira email based on the project key. The subject also need to have the number in the email subject

How to edit the subject of Jira email based on the project key. The subject also need to have the number in the email subject

Hi

My requirement is that I need a specific subject line in the JIRA email notfication email for a single project. For all other projects, its the default. The subject line also need to have the "number" in the issue key.

I am unable to move ahead.

 

#disable_html_escaping()

#if($project.key).equals("ACITP")

 

($issue.key) $issue.summary

 

Regards,

 

Sateesh

 

 

2 answers

1 vote

Are you editing the subject email template? If so, try replacing $project with $issue.projectObject and see if it helps.

Thank you Jobin. Also is there any way to cut the number from the issue key

You can use $issue.projectObject.key instead of $issue.key

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,708 views 17 21
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