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

Is there a generalized approach to programmatically create all type of objects and retrieve their metadata in IBM EWM using Java APIs?

 

Hi,
Have following questions related to programmatic objects creation in IBM EWM-

1) Is there a generalized approach within the IBM EWM Java APIs that allows for performing CRUD (Create, Read, Update, Delete) operations on various types of objects, including project areas, work items, components, and all the others?  In other words, is there a single generic function or method that can be used to interact with all the different EWM objects? Let's say function 'CreateObject(String ObjectTypeName)' will creates any type of object in IBM EWM application.

2) How can we retrieve metadata for all the object types within IBM RTC using Java APIs? Is there a wrapper class or a centralized method that can provides access to metadata for all object types, eliminating the need to call individual client classes for each object type?

0 votes



2 answers

Permanent link

 As far as I know the answer is NO for both questions.

0 votes


Permanent link
Short answer: No

Longer answer:
The public APIs are documented at https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
Project areas, team areas, iterations are part of the Jazz Foundation Process component.
There are public REST APIs that allow you to create, fetch, update them. And the APIs are specific to each type of artifact.

There are both Java and REST APIs to create, update,query for, work items. But these will be specific to work iftems and unrelated to artifacts from foundation process.

There are also EWM releases which can be created, updated, archived through REST APIs that are specific to releases.

0 votes

Comments

The question was specifically about the Java APIs of EWM. This means the SDK and the Plain Java Client Libraries.


If you want to get an idea about the Java APIs, you can find examples in my blog. 
Check the top posts and pages. You can also search.

I also provide some examples for the REST/OSLC APIs especially for EWM. 

There are examples, example code and links to open source projects on the blog. E.g. see the interesting links page or the blog posts. 

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,937
× 411

Question asked: Sep 27 '23, 5:27 a.m.

Question was seen: 1,146 times

Last updated: Sep 27 '23, 7:24 a.m.

Confirmation Cancel Confirm