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

Sateesh Chandra November 3, 2014

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
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 4, 2014

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

0 votes
Sateesh Chandra November 4, 2014

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

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 5, 2014

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

Suggest an answer

Log in or Sign up to answer