...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1.
...
Export any sub-task fields including custom fields?
Jira issue data only includes a small subset of fields for sub-tasks (see picture below). With the handlebar helper jExtend all fields can be exported including custom fields (see examples below).
...
Code Block |
---|
{{#each fields.subtasks}} //subtask simple text, number custom field {{{jExtend key "renderedFields.customfield_10031"}}} //subtask description {{{jHtml (jExtend key "renderedFields.description")}}} //subtask user picker custom field {{jExtend key "fields.customfield_10041.displayName"}} //subtask date custom field {{jDate (jExtend key "fields.customfield_10033") "YYYY-MM-DD"}} //subtask multiselect custom field {{jArray (jExtend key "fields.customfield_10039") 'value'}} //subtask html custom field {{{jHtml (jExtend key "renderedFields.customfield_10031")}}} //subtask truncate number value {{toFixed (jExtend key "fields.customfield_10035") 1}} //subtask with status {{#ifeq fields.status.name "In Progress"}} this subtask has status In-Progress{{/ifeq}} {{/each}} |
2.
...
Export {{ or }} characters?
Code Block |
---|
{{{{raw}}}} {{escaped}} {{{{/raw}}}} |
...