How to use placeholders in a template

 

You can use the following placeholders which will be replaced with properties of the respective user:

  • user.name
    Will be replaced with the JIRA username
  • user.displayName 
    Will be replaced with the full name
  •  user.emailAddress
    Will be replaced with the email address
  •  user.mention
    Will be replaced with an @-mention of the user

These placeholders must be used inside the delimiters '<%=' and '%>', for example
<%=user.name%>

Templates can be used in the Summary and Description.

 

Example

To illustrate this further, assume you want to create a task for John Doe with username john.doe and email john.doe@example.com.

The following template

Hi <%=user.mention%>,
Could you please check if the following information is correct:
Your full name is <%=user.displayName%> and your email address is <%=user.emailAddress%>

Thanks

 

Will create this text:

Hi @john.doe,
Could you please check if the following information is correct:
Your full name is John Doe and your email address is john.doe@example.com

Thanks