Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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!

0 votes



One answer

Permanent link

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


0 votes

Comments

I was hoping that there was a way to edit the query as a SQL thing, but I'll take a look at your suggestion, thanks!

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,059

Question asked: Jun 25 '18, 9:23 a.m.

Question was seen: 1,576 times

Last updated: Jun 25 '18, 10:52 a.m.

Confirmation Cancel Confirm