• 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

This widget could not be displayed.

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

This widget could not be displayed.

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
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

83 views 0 1
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