Notification schemes

hello there

is there a way to send a default message when issues are created.

i have created a custom field but i don't see a field where i can add my default message.

kindly assist if know how one can add default message.

1 answer


please read

in case you don't want to read through all that stuff:

create a new vm file in your


(by default that should be in /opt/atlassian/jira/)

create a template (keep in mind that jira offers html and text email. so a template for each should be built)

name it something like your customfield for example.

i will show you an example template:

#if ($issue.getCustomFieldValue("customfield_&lt;ID&gt;"))
&lt;tr valign="top"&gt;
    &lt;td style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};padding:0 10px 10px 0;white-space:nowrap;"&gt;
        &lt;strong style="font-weight:normal;color:${textSubtleColour};"&gt;#text("&lt;NAME&gt;"):&lt;/strong&gt;
    &lt;td style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};padding:0 0 10px 0;width:100%;"&gt;

to find out the ID of your customfield just navigate to Administration>Issues>Fields and highlight "Edit" on your customfield.

your browser status bar should show you something like i.e. :


in that case 11606 is the ID of the customfield so add it to your code:

replace customfield_<ID> with customfield_11606 (note there are 2 occurances)

the <NAME> should be clear. add the customfields name here.

next step is to cd to:


you will find the issuecreated.vm here. open it with your preferred text editor (vi,vim,nano whatever)

at the bottom you will find:

&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;

simply add your previously created new vm file in between there and save the file.

now the easier part. for text emails go to:


and edit the issuecreated.vm there. (looks different)

add this line (lets assume your customfield id is still 11606):

#if ($issue.getCustomFieldValue("customfield_11606")) $stringUtils.leftPad($issue.getCustomField("customfield_11606").name, $padSize): $issue.getCustomFieldValue("customfield_11606")

Now restart Jira and enjoy

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

391 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot