URI for querying rdf:resource using "oslc_cm.query="
I'm sorry if this is a duplicate question, but I couldn't find what I am looking for in the related questions.
I'm trying to query workitems using 2 attributes: identifier and plannedFor. The Identifier is straightforward on how to use it, but I'm having issues with the plannedFor because it has the "rdf:resource" property inside it, which I think is preventing from searching the items.
I would really appreciate it if someone could help me with this or show me what I'm doing wrong.
Here is the URI I'm using:
[..].com/ccm/oslc/contexts/_projectArea/workitems.json?oslc_cm.query=QUERY_STRING
Where the unformatted QUERY_STRING is as shown below:
dc:identifier="ITEM_ID" and rtc_cm:plannedFor rdf:resource="PLANNED_FOR_ID"
|
Accepted answer
David Honey (1.8k●1●7)
| answered Aug 02 '22, 4:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Aug 02 '22, 4:11 a.m.
rtc_cm:plannedFor
references a URI.
For example:
<https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/542254> rtc_cm:plannedFor <https://jazz.net/jazz/oslc/iterations/_HzKikPeDEeqF0P4H7a2UXQ> ; Which means that in an
rtc_cm:plannedFor=<https://jazz.net/jazz/oslc/iterations/_HzKikPeDEeqF0P4H7a2UXQ>
The OSLC query request would therefore include:
Felipe Pontes selected this answer as the correct answer
|
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.
Comments
I also tried using