...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1. How do I export sub-
...
task 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 descriptionvalue {{{jHtmltoFixed (jExtend key "renderedFieldsfields.descriptioncustomfield_10035")} 1}} //ifsubtask statementwith onstatus subtask type {{#ifeq fields.issuetypestatus.name "Sub-taskIn Progress"}} is Sub-task this subtask has status In-Progress{{/ifeq}} {{/each}} |
2. How do I export {{ or }} characters?
Code Block |
---|
{{{{raw}}}}
{{escaped}}
{{{{/raw}}}} |