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

Need help on CLM 5.x to create LPA project using REST API

Hi,

We are trying to create Lifecycle Project through REST API in Java(https://jazz.net/wiki/bin/view/Main/LPAAPIExampleClient#The_example_code_output) and in Perl.
The Java code is still not giving desired output and to test in Perl we need an example of a POST request for Project Creation API.

We are following a link : https://jazz.net/wiki/bin/view/Main/DraftLPARestAPI
This link has a GET API for projects but not a POST API request for Lifecycle Project Creation.

Quick help would be appreciated as we are stuck on this since long.

Thanks.

Regards,
Peter

0 votes



3 answers

Permanent link
You're supposed to POST to the template URL to create a new LPA project, not POST to the project URL.

POST       (template URL)

Instantiate a lifecycle project template, which typically results in the creation of a lifecycle project and the creation and/or linking of project areas in the lifecycle applications that are encapsulated by the lifecycle project.

1 vote


Permanent link
Hey Peter,
are you able to create Lifecycle Projects under CLM 5?
What are your service entry points? The URLs provided at https://jazz.net/wiki/bin/view/Main/DraftLPARestAPI are for CLM version 3 and 4.
Thank you for your help!

Regards,
Philipp

0 votes


Permanent link
With CLM 5.0.2, I can create a new lifecycle project by posting to https://clm:9443/jts/lifecycle-project/projects. But that's all it ends - I haven't been able to find a way to modify (using PUT) the newly created project - the location URL returned with the HTTP 201 code does not even give the details of the project. So hopefully you can put all the information in the payload and create a complete project on one go.

Caveat: I can see the new project in Web GUI, but not in any REST API responses.

0 votes

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
× 7,498

Question asked: May 11 '15, 5:12 a.m.

Question was seen: 2,810 times

Last updated: Jan 11 '16, 7:26 p.m.

Confirmation Cancel Confirm