Versions Compared

Key

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

...

The image below demonstrates an example of a Word template that iterates over linked issues.

Image Removed

or

Image Removed

The image below demonstrates an example of an Excel template that iterates over linked issues.

Image Removed

or

...

word.pngImage Added Iterating_Issue_Links.docx

excel.pngImage Added Iterating_Issue_Links.xlsx

Issue Comments

Because it is not known in advance how many comments exist for an issue, you can iterate a section over all the comments on an issue. This allows you to create a table that dynamically grows according to the number of existing comments. The notation is:

...


The image below demonstrates an example of a Word template that iterates over issue comments.

Image Removed

or

Image Removed

The image below demonstrates an example of an Excel template that iterates over issue comments.

Image Removed

or

Image Removed

word.pngImage Added Iterating_Issue_Comments.docx

excel.pngImage Added Iterating_Issue_Comments.xlsx

Issue Worklogs

Because it is not known in advance how many worklogs exist for an issue, you can iterate a section over all the worklogs of an issue. This allow you to create a table that dynamically grows according to the number of existing worklogs. The notation is:

...

The image below demonstrates an example of a Word template that iterates over issue subtasks.

Image Removed

or

Image Removed

...

template that iterates over issue subtasks.

Image Removed

or

Image Removed

word.pngImage Added Iterating_Issue_Subtasks.docx

excel.pngImage Added Iterating_Issue_Subtasks.xlsx

For an example of how to iterate the details of a subtask Parent issue, please check the Iterating JQL Queries area below.

...

 The image below demonstrates an example of a Word template that iterates over issue components.

Image Removed

 The image below demonstrates an example of an Excel template that iterates over issue components.

word.pngImage Added Iterating_Issue_Components.docx

excel.pngImage Added Iterating_Issue_Components.xlsxImage Removed

 

Issue Status Transitions

...

Code Block
titleExpand to see the sample code
collapsetrue
#{for statusTransitions}
   ${StatusTransitions[n].Author}
   ${dateformat("dd-MM-yyyy HH:mm:ss"):StatusTransitions[n].Created}
   ${StatusTransitions[n].OldStatus}
   ${StatusTransitions[n].NewStatus}
#{end}
 
or
 
#{for <VariableName>=StatusTransitionsCount}
   Content and StatusTransitions Mappings. Example: ${StatusTransitions[VariableName].Field}
#{end}

The image below demonstrates an example of a Word template that iterates over status transitions.

Image Removed

or

...

{end}

The image below demonstrates an example of an Excel a Word template that iterates over status transitions.

Image Removed

or

word.pngImage Added Iterating_Issue_StatusTransitions.docx

excel.pngImage Added Iterating_Issue_StatusTransitions.xlsxImage Removed

Issue Attached Images

...

The image below demonstrates an example of a Word template that iterates over attached images. 

Image Removed 

or

Image Removedword.pngImage Added Iterating_Issue_Images.docx



Info

Doc. Generator will automatically read the EXIF orientation property of an image and rotate it to its correct orientation. You can turn this off by adding this property to your template.

...

The image below demonstrates an example of an Excel template that iterates over attached images. 

Image Removed 

or

Image Removed

excel.pngImage Added Iterating_Issue_Images.xlsx

Issue Attachments

Because it is not known in advance how many attachments exist in an issue, you can iterate a section over all the attachments of an issue. This allows you to create a table that dynamically grows according to the number of existing attachments. The notation is:

...

The image below demonstrates an example of a Word template that iterates over attachments.

Image Removed

or

Image Removed

The image below demonstrates an example of an Excel Word template that iterates over attachments.

Image Removed

or

Image Removed

excel.pngImage Added Iterating_Issue_Attachments.xlsx

Issue Labels

Because it is not known in advance how many labels exist in an issue, you can iterate a section over all the labels of an issue. The notation is:

...

The image below demonstrates an example of a Word template that iterates over labels.

Image Removed

or

Image Removed

The image below demonstrates an example of an Excel template that iterates over labels.

Image Removed

or

Image Removed

word.pngImage Added Iterating_Issue_Labels.docx

excel.pngImage Added Iterating_Issue_Labels.xlsx

Project Versions

You can iterate over all project versions to which the issue belong to. The notation is:

...

The image below demonstrates an example of a Word template that iterates over project version.

Image Removed

or

Image Removedword.pngImage Added Iterating_Issue_ProjectVersions.docx

The image below demonstrates an example of an Excel template that iterates over project version.

...