Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

Common support questions

How do I export sub-tasks 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)

image-20241113-100018.png

Export handlebars

{{#each fields.subtasks}} 

//subtask simple text, number custom field
{{{jExtend key "renderedFields.customfield_10031"}}}
 
//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 description
{{{jHtml (jExtend key "renderedFields.description")}}}

//if statement on subtask type
{{#ifeq fields.issuetype.name "Sub-task"}} is Sub-task{{/ifeq}}

{{/each}}

  • No labels