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 |
3 answers
You're supposed to POST to the template URL to create a new LPA project, not POST to the project URL.
|
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 |
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
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.