Multi condition in oslc.where is returing 400 error While querying RTC with the OSLC REST by the work item creator
https://jazz...com:<port>/jazz/oslc/contexts/<Project Area>/workitems?oslc.select=dcterms:subject,dcterms:creator&oslc.where=dcterms:created=%222017-07-21T09:15:53.377Z%22%20and%20dcterms:creator=%22susan%40in.ss.com%22
{
"oslc:message": "Illegal argument 'Created By': susan@in.ss.com",
"oslc:statusCode": 400,
"prefixes": {
"oslc": "http://open-services.net/ns/core#"
}
}
This problem is coming only after adding the additional condition ">>>>>>>>>%20and%20dcterms:creator=%22susan%40in.ss.com%22
<<<<<<<<<<<<<<<<<<<<< But I want this, for additional filtering.
Any help is much appreciated. Thanks very much in advance.
2 answers
The value of the OSLC property dcterms:creator (attribute "Created By") has to be in the form of a resource URI, such as "https://clm.example.com/jts/users/wasadmin".