...
Finally press the “Populate“ button and the Jira data is populated into the template. Then press “Restore“ to go back to the template again.
...
...
How did the example above work under the hood?
Example explained
Each Jira Issue is an a Javascript JSON object and the handlebars extract information from that object. Viewing the object is available in Jira and the feature will also come to Word in upcoming versions.Around the handlebar expression there is an each soon also be available from the Word add-on.
Below you find the full handlebar expression sends to the backend server. At the top there is an #each statement that loops over all Issues . For configured in the Word Issue tab. To improve usability the #each loop is automatically added automatically by the add-on populating if missing however below code snippet is the full expressionin template. However for full control add one or multiple loops to the template.
Code Block |
---|
{{#each jira.issues}} {{key}} - {{fields.summary}} {{{jHtml renderedFields.description}}} {{/each}} |
...