Retrieve all folders summaries of current project
No outside loop necessary, just run it.
[[\each $selectedProject]] [[\recurse $.folders]] [[$.numbering]] [[$.]] [[/recurse]] [[/each]]
Render Description field
Converts the Jira internal markup language to nice formatting. “$.” is the issue given from an loop around this statement.
[[\wiki $.description]] [[/wiki]] [[\if $.description = “”]]No Description availaible[[/if]]
Iterate over all Labels of an issue
[[\if $.labels.count > 0]] Labels: [[\each $.labels]] • [[$.]] [[/each]] [[/if]] [[\if $.labels.count = 0]]Labels: No Labels available [[/if]]
You can replace $.labels
by $.children
or $.attachments
to get other multi value field content.
Iterate over all linked issues
You receive all issues linked to current, also you get issues inside a epic. The variable “link_type_name” is used to detect all different link types.
[[\if $.linkedissues.count > 0]] [[\variable.link_type_name “”]][[/variable]] Issuelinks: [[\each $.linkedissues]] [[\if $.name <> $variable.link_type_name]] [[$.name]] [[/if]] [[$.issue.key]] - [[$.issue.summary]] [[\variable.link_type_name $.name]][[/variable]] [[/each]] [[/if]] [[\if $.linkedissues.count = 0]]Issuelinks: No Issue Links available[[/if]]
Iterate over all comments
[[\if $.comments.count > 0]] Comments: [[\each $.comments]] On [[$.updated]] by [[$.updater.displayname]]: [[\wiki $.]] [[/wiki]] [[/each]] [[/if]] [[\if $.comments.count = 0]] Comments: No Comments available [[/if]]