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

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? 

1 vote


Accepted answer

Permanent link

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


For EWM the APIs relevant to you are 
  1. 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.
  2. 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.

Shaik Abid Hussain selected this answer as the correct answer

1 vote

Comments
By creation factories do you mean : <oslc_cm:factory calm:id="myNewAttribute">...</oslc_cm:factory>? It barely has any data here. I am looking for Element names for attributes of workitems. (im fetching workitems using: /ccm/oslc/contexts/{projectAreaUUID}/workitems). Tell me if there's a better way

I can not, and will not comment on internal APIs. This is a community page and not a consulting APIs for free page.


I wrote several posts around the OSLC API's of EWM. E.g.
What is written there is still true. This includes the factories and the information about available work item attributes. 

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


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

Question asked: Jan 09, 1:12 a.m.

Question was seen: 155 times

Last updated: Jan 10, 4:48 a.m.

Confirmation Cancel Confirm