• 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

205 views 2 11
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