iterating through subtasks comments?

Deleted user April 4, 2013

Trying to do this with xporter for jira. The snippet below does not output anything.

#{for Subtasks[0].comments}

${Subtasks[0].Comments[n].AuthorFullName}

${{Subtasks[0].Comments[n].Body}

${{Subtasks[0].Comments[n].CreatedDate}

#{end}


But when I do a single request it displays correctly. Note that the snippet below is not using a for loop.

${Subtasks[0].Comments[0].AuthorFullName}

${{Subtasks[0].Comments[0].Body}

${{Subtasks[0].Comments[0].CreatedDate}

2 answers

1 accepted

0 votes
Answer accepted
Xpand IT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2013

Hi Khang,

The current version does not support iteration on the comments of a subtask or linked issues. We are addressing this feature for the next version of the plugin.

Best Regards

0 votes
Ivy Clark April 3, 2018

Has this been implemented afterall?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events