How to Get sorted workitems list by using OSLC
![]() Hi. I want to get workitem list by using oslc like below. rational is my servername. But, I can't get sorted WorkItem list xml. Please tell me what is wrong in this syntax. |
Accepted answer
![]()
Eric Jodet (6.3k●5●111●120)
| answered Jul 08 '14, 2:35 a.m.
JAZZ DEVELOPER edited Jul 10 '14, 1:25 a.m.
Hello,
based on https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20
I would use:
&oslc:orderBY=%2Bdc:identifier
let me know if this works
Eric
Shintarou Yuasa selected this answer as the correct answer
Comments Hi Eric, it does not seem to work - at least on jazz.net. Here is the link that I tried The part starting from the question mark(?) is copied from "Example 6 - Work Items tagged with 'tvt' or 'mustfix sorted by Severity" in the article that you linked. |
One other answer
![]()
Hi. I talked to Yuasa-san, then confirmed he wants to use olsc_cm.query instead of oslc.where.Then we should use /sort according to OSLC CM query syntax. See http://open-services.net/bin/view/Main/CmQuerySyntaxV1.
Thanks. Koji |
Comments
Hi.
Thank you for replying and teaching and testing various syntax.
I tried these method, and i can understand OSLC CM query syntax.
So, I can get sorted workitems list.
I would like to thank everyone.
Thank you!
Shintarou Yuasa