In the JIRA dashboard, I want to add one field in the list to show all the comments and the latest comment. Is it possible and which field should I insert?
Hello @tianchi,
I am Marlene from codefortynine.
Another option to display a dynamic field that shows the latest comment, would be our app Dynamic Custom Fields for Jira. With our app you can use Jira expressions to create computed custom fields.
In this screenshot you can see the custom expression and and a preview how the field would look like.
This is the expression I used to create this field:
issue.comments.length ? issue.comments[issue.comments.length-1].body.plainText : ""
If you have questions or feedback about our app, don't hesitate to reach out to us directly.
@tianchi -
Out of the box, it is not possible. In our env, we used Scriptrunner for Jira (3rd party add-on) to create a custom scripted field "Latest Comment" via custom coding. Afterward, our users use it for reporting (JQL filter results)/dashboarding.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @tianchi ,
You can't get them directly. Here are some workarounds, but it's complicated.
https://community.atlassian.com/t5/Jira-questions/How-to-get-Comments-in-Dashboard/qaq-p/1804313
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.