It's all about the answers!

Ask a question

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


Petersingh Anburaj (1112) | asked May 11 '15, 5:12 a.m.
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

3 answers



permanent link
Donald Nong (14.5k614) | answered May 11 '15, 9:47 p.m.
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.


permanent link
Philipp Selle (1527) | answered Jan 11 '16, 8:35 a.m.
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

permanent link
Donald Nong (14.5k614) | answered Jan 11 '16, 7:26 p.m.
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.

Your answer


Register or 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.