"Unknown attribute id" error trying to query work item state via the REST api
Hi,
I'm trying to query using the REST api to find work items that are tagged with a specific tag and are "open" (that is either: new, inprogress, reopened)
I've supplied the headers:
Accept: application/json
OSLC-Core-Version: 2.0
And I'm performing a GET on:
http://www.example.com/oslc/contexts/<projectIdHere>/workitems?oslc.where=dcterms:subject="mytag" and rtc_cm:state{rtc_cm:group="open"}
However I get the error:
"prefixes":{"oslc":"http:\/\/open-services.net\/ns\/core#"},"oslc:message":"Unknown attribute id: [http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/state, http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/group]","oslc:statusCode":400}
Any suggestions on how to find the right query? I've also tried querying the state string but I get a similar error.
I'm trying to query using the REST api to find work items that are tagged with a specific tag and are "open" (that is either: new, inprogress, reopened)
I've supplied the headers:
Accept: application/json
OSLC-Core-Version: 2.0
And I'm performing a GET on:
http://www.example.com/oslc/contexts/<projectIdHere>/workitems?oslc.where=dcterms:subject="mytag" and rtc_cm:state{rtc_cm:group="open"}
However I get the error:
"prefixes":{"oslc":"http:\/\/open-services.net\/ns\/core#"},"oslc:message":"Unknown attribute id: [http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/state, http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/group]","oslc:statusCode":400}
Any suggestions on how to find the right query? I've also tried querying the state string but I get a similar error.