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
Variable | Description |
---|---|
{{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
Variable | Description |
---|---|
{{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
Variable | Description |
---|---|
{{now} | returns the full name. Example Rickard Atthem |