allComments()

This function returns a text list with all comments in the current issue by creation date in ascending order.


Bash
allComments() #Output: Text list


Examples

Parser expression

Description

Bash
allComments()

This example returns all issue comments, e.g.:

"This is the last comment.

This is another comment

And this is another comment"

Output

This function returns a text list


Variant where you can additionally define issue keys.


Bash
allComments(issueKeys) #Output: Text list


Examples

Parser expression

Description

Bash
 allComments(%{parent.key}) 

This example returns all comments of the parent issue.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKeys

text

A text containing issue keys as a comma-separated list.

Output

This function returns a text list


Variant where you can additionally define specific issues in an issue list.


Bash
allComments(issueList) #Output: Text list


Examples

Parser expression

Description

Bash
allComments(subtasks())


This example returns all the comments in all the sub-tasks of the current issue.

To achieve this, the following functions are used:

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueList

issue list

Any given issue list. Usually this value is retrieved from a function (e.g. 

linkedIssues()

or 

subtasks()

).

Output

This function returns a text list


📚 Use cases and examples