Welcome to the Jazz Community Forum
Is there a way to query only the most recent comments?

I was able to build a query that built a table that included in it the comments on a work item.
However, as more comments get added, this field can get bloated and make the table unreasonably large.
Is there a way to have the query only extract the most recent comments? And if not, is there at least a way to organize it so that it displays the most recent comments first instead of last as it does by default?
Thank you!
One answer

Hi, I am not aware that this is possible in the product. You could use https://github.com/jazz-community/work-item-command-line and basically adjust the ExportWorkItemsCommand.calculateCommentsAsString(IWorkItem workItem)
https://github.com/jazz-community/work-item-command-line/blob/master/com.ibm.js.team.workitem.commandline/src/com/ibm/js/team/workitem/commandline/commands/ExportWorkItemsCommand.java