Simple and headless way to extract work item information
I want to integrate work item information into another application, and I am hoping to find a simple way to do that. Ideally I want to build a simple URL and then get back the data in an easily parseable format. Any suggestions on how best to do this?
In the wiki I found the paper
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItems
that mentioned forming URLs like this:
/service/com.ibm.team.workitem.service.internal.roa.IRestService/workitems/17089
and while that looked ideal, it returned data for some workitems but not others, and I could not discern what the difference was.
I also found papers on the RTCSDK, but that seemed too complicated for what I need.
In the wiki I found the paper
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItems
that mentioned forming URLs like this:
/service/com.ibm.team.workitem.service.internal.roa.IRestService/workitems/17089
and while that looked ideal, it returned data for some workitems but not others, and I could not discern what the difference was.
I also found papers on the RTCSDK, but that seemed too complicated for what I need.
One answer
In the wiki I found the paper
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItems
that mentioned forming URLs like this:
/service/com.ibm.team.workitem.service.internal.roa.IRestService/workitems/17089
and while that looked ideal, it returned data for some workitems but
not others, and I could not discern what the difference was.
The API you are referring to was provisional but should still work for
your purpose. What was the HTTP status code for the work items that
returned no data? A 500 would point to a problem on the server.
If you use a 2.0 version, please take a look at the official API
documented in
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2
--
Regards,
Patrick
Jazz Work Item Team