Hello, is there a way to create a report using eazyBI for the number of comments on a ticket? If nothing exist currently is it possible to create a custom field to track this information?
Hi @Richardson_ Jordan _CGI Federal_,
There is no standard measure for the number of comments on an issue, but EazyBI does let you create additional custom fields (in the advanced settings section), where you can use javascript to add the extra information you need:
[jira.customfield_comments]
name = "Comments"
data_type = "integer"
measure = true
javascript_code = '''
if (issue.fields.comment && issue.fields.comment.comments ) {
issue.fields.customfield_comments = issue.fields.comment.comments.length;
}
'''
You may have a look at this EazyBI Community thread to learn more on how you can then leverage this field (and the set of metrics it will generate further) to achieve what you are looking for.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.