• 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

211 views 1 18
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