Versions Compared

Key

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

BOJA Technology add-ons come with a high quality 24/5 support

Common support questions

Table of Contents
minLevel1
maxLevel2
outlinefalse
stylenone
typelist
printabletrue

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).

Jira issue sub-task data (View Data tab)

...

Export handlebars

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. How do I export {{ or }} characters?

Code Block
{{{{raw}}}}  
{{escaped}}
{{{{/raw}}}}