Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

We are using velocity as template engine and have exposed the following classes:

  • current issue
  • issue manager
  • project manager
  • current project
  • current user
  • user manager

General usage note

Use $ sign to access the object, then use dot notation to access its variables.

User object

Use $user

VariableDescription
{{user.name }}returns the full name. Example Rickard Atthem
{{user.username}}returns the username. Example ratthem
{{user.email }}returns the email. Example rickard@rixter.se
{{user.active }}returns true or false depending on if the user is active or not in JIRA

Issue object

VariableDescription
{{issue.summary }}returns the issue summary
{{issue.key}}returns the issue key
{{issue.due }}returns the issue due date
{{issue.description }}returns issue description
{{issue.priority }}
{{issue.created }}
{{issue.updated }}
{{issue.status }}

Current date/time

VariableDescription
{{now}returns the full name. Example Rickard Atthem
  • No labels