Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleFilter an array on a specific property
Code Block
languagexml
<!-- Prints all comments from the issue's creator -->
<!-- for Jira DC it would be issue.creator.key // author.key -->
{{#filter issue.comment issue.creator.accountId prop="author.accountId"}}
Created: {{format this.created.raw "dateMed"}}
{{this.body}}

{{/filter}}
Expand
titleLook for first/last entry of an array
Code Block
<!-- Prints the last comment of an issue -->
{{#withLast issue.comment}}
{{this.body}}

{{/withLast}}
Code Block
<!-- Prints the filename of the first attachment of an issue -->
{{#withFirst issue.attachment}}
{{this.filename}}

{{/withFirst}}
Expand
titleCheck on field values and print different outcomes
Code Block
<!-- Returns depending on the value of a multiselectfield of an issue -->
{{#eq issue.customfield_11111 "Yes"}}

This is the Yes block
{{/eq}}

{{#eq issue.customfield_11111 "No"}}
This is the no block

{{/eq}}