Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get unresolved workitems using OSLC Workitem API with accept header set as application/xml

By using below GET URL, I’m able to correctly fetch the unresolved workitems for the Project context ID specified in the url with accept header set as application/rdf+xml

HTTP GET Request URL: https://localhost:3333/ccm/oslc/contexts/<ContextID>/workitems?oslc.where=oslc_cm%3Aclosed%21%3D%22false%22&amp;oslc.select+=+dcterms%3Aidentifier <o:p> </o:p>

 URL Parameters:


<o:p> </o:p>

Name <o:p> </o:p>

Value <o:p> </o:p>

oslc.where <o:p> </o:p>

oslc_cm: closed!=false <o:p> </o:p>

oslc.select <o:p> </o:p>

dcterms:identifier <o:p> </o:p>

 

 

 

HTTP Headers: <o:p> </o:p>

Name <o:p> </o:p>

Value <o:p> </o:p>

Accept <o:p> </o:p>

application/rdf+xml <o:p> </o:p>

Authorization <o:p> </o:p>

Basic xxxxxxxx <o:p> </o:p>


<o:p> </o:p>

But the issue arises if I just change the ACCEPT header value to “application/xml” by keeping everything else same, I’m getting all the workitems (resolved + unresolved). <o:p> </o:p>

I need only Unresolved Work Items(alongwith with details) in the XML response.   <o:p> </o:p>

Can someone please help me resolve this issue? Any suggestions   <o:p> </o:p>

<o:p>   </o:p>

0 votes


Be the first one to answer this question!

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Nov 06 '19, 3:50 a.m.

Question was seen: 546 times

Last updated: Nov 06 '19, 3:50 a.m.

Confirmation Cancel Confirm