Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I edit the subject template of batched notification? Edited

I know I have to modify the file IssueUpdateBatcher-subject.vm from the plugin batchers-1.0.27.jar located in atlassian-jira/WEB-INF/atlassian-bundled-plugins.

What I want to do, is to add the following elements in the mail subject:

  • status
  • type
  • component
  • customfield_10008

I found how to do for the first one (status) => by adding $

But I didn't find how to do for the others, it should be something like $header.issueType and $header.issueComponent but it seems not to work.

For the custom field, I tried the two following solutions (from but both don't work.

#set( $severity = $issue.getCustomFieldValue($customfield) )

#set( $severity = ${customFields.get('customfield_10008').getValue()} )

The end of the customized file IssueUpdateBatcher-subject.vm is:

#set( $status = $ )
#set( $emailsubject = "(${key} ${status}) ${severity}"
$i18n.getText('issue.update.batch.mail.subject', [$emailsubject, $header.issueSummary])


Can anyone help me?

1 answer

After I added the customfield to the velocity-context it worked for me with the following code (batchers version 1.2.1):

#set( $status = $ )
#set( $key = $header.issueKey )
#set( $customer = ${customFields.get('customfield_10700').getValue()} )
#set( $emailsubject = "[${key}]-[$customer] (Status: ${status})")
$i18n.getText('issue.update.batch.mail.subject', [$emailsubject, $header.issueSummary])


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you