Number of comments

JWT expression

Field code
{issue.cfnnnnn}

Jira expression

Field code
issue?.customfield_nnnnn

You can also use the issue's comment object: issue?.comments?.length

Read

Returned value

Number of comments for an issue. 

Output data type

number

Example output

7