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

Export more than 1000 RTC workitems using OSLC API

 Hello All,


I am trying to export RTC workitems using OSLC api.
Getting error "Error parsing response to JSON: Error: Unclosed root tag".
Workitems are more than 1000 so Is there any way we can export large number of workitems(more than 1000) using OSLC api.
Regards
Pallavi Deore 

0 votes



One answer

Permanent link

 I can not see, how the error "Error parsing response to JSON: Error: Unclosed root tag" indicates any relationship to a number of more than 1000 work items. I could see that at some point in the communication buffer size could be an issue. This might cause an issue when trying to serialize/deserialize json for or after transfer. It could be a defect as well. There is pretty much no information what you do, so no way of telling.  

Regardless of what method you use, despite some rumors it would be otherwise, resources on servers are limited and that is why solutions like paging or individually retrieving items exist. I am pretty sure, if you get each work item individually, you could export as many as you like using OSLC.

Note that JSON representation is not totally clear and might not be fully supported. See https://jazz.net/forum/questions/282584/how-to-return-data-in-json-format-in-eclipse-while-using-http-client-query-method . Mediatype application/rdf+xml should be fully supported.


0 votes

Comments

See https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/oslc-core.html section 4.1.3 Resource Representations for JSON representation.

Your answer

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,952

Question asked: Oct 10 '23, 9:06 a.m.

Question was seen: 758 times

Last updated: Oct 11 '23, 5:58 a.m.

Confirmation Cancel Confirm