It's all about the answers!

Ask a question

Multi condition in oslc.where is returing 400 error While querying RTC with the OSLC REST by the work item creator

Jayasankar BVR (815) | asked Jul 25 '17, 1:01 p.m.<port>/jazz/oslc/contexts/<Project Area>/workitems?,dcterms:creator&

"oslc:message": "Illegal argument 'Created By':",
"oslc:statusCode": 400,
"prefixes": {
This problem is coming only after adding the additional condition ">>>>>>>>>
<<<<<<<<<<<<<<<<<<<<< But I want this, for additional filtering.
Any help is much appreciated. Thanks very much in advance.  

2 answers

permanent link
Donald Nong (14.5k414) | answered Jul 25 '17, 10:30 p.m.

The value of the OSLC property dcterms:creator (attribute "Created By") has to be in the form of a resource URI, such as "".

Jayasankar BVR commented Jul 26 '17, 3:45 p.m.

 Hi Donald Nong, can you share as to how we can filter the work items by UserID or Mail id ??

Donald Nong commented Jul 26 '17, 10:31 p.m.

The URL is exactly the same as yours but with a different value for the user. So you will first need to find out the user resource URI for "susan" - let's say it's "". Then you append the user to "dcterms:creator=". The error that you previously got basically says you specified an invalid user value.

permanent link
Jayasankar BVR (815) | answered Jul 26 '17, 2:24 a.m.

 Thanks much Donald Nong.

Your answer

Register or to post your answer.