How to get accurate built-in attribute details from REST API (Not RTC client)?
I want to retrive all workitem details from IBM Jazz, for that, I need to know details about all workItem Attributes of IBM Jazz. Im able to fetch accurate details of workitem attributes using: localhost:9443/ccm/service/com.ibm.team.workitem.service.process.internal.rest.IWorkItemConfigRestService/workItemTypes?projectAreaItemId={projectAreaUUId} . Here, There is accurate information about custom attributes and a list of built-in attributes also but when I try to get workItems through API, the XMLElement Names of built-in attributes are different from the ones I fetched from above endpoint. hence I am unable to fetch details of workItems correctly. I want to ensure that I am able to fetch all details of workItems in a projectArea. For that, I need to know accurately what attributes are there. can anyone suggest me something?
Accepted answer
The API you mention above is an internal API that must not be used, except by the applications.
The public API's can be found here: https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding
- The Reportable REST API which covers most of the EWM data. I am not sure if it can be used for the type of analysis you want.
- The OLSC CM API which does not cover all work item data e.g. approvals are not available. OSLC CM supports discovery including creation factories etc. that can be used for the analysis you want, but limited to the properties supported.
Comments
I can not, and will not comment on internal APIs. This is a community page and not a consulting APIs for free page.
- https://rsjazz.wordpress.com/2021/12/09/ewm-discovery/
- https://rsjazz.wordpress.com/2022/02/02/ewm-work-item-oslc-cm-api/
The specification for the OSLC CM API can be found here: https://docs.oasis-open-projects.org/oslc-op/cm/v3.0/change-mgt-spec.html
1 vote
Your posts are helpful. Thanks a lot