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

Lifecycle Project Administration REST API CLM 5?

Hi everyone!

Is there a current LPA REST API for CLM 5?
Unfortunately I can not find the entry points for it (https://jazz.net/wiki/bin/view/Main/DraftLPARestAPI are only for 3 and 4 and did not work for version 5).

For the project service I tried the URL provided in the link and also with "jts" in it:
https://server:port/admin/projects and https://server:port/jts/admin/projects
but I don't get a JSON back. Header are set to "Accept: application/json".

I would very much appreciate any help!
Thanks, Philipp.

0 votes



2 answers

Permanent link
Hi Philipp,

admin.war is no longer available since 5.0.2.

0 votes

Comments

Hi Shubjt,

Thank you for your quick reply.
Your provided URL responses the status 200, it doesn't provide the lifecycle projects thought. The response is a html without useful information (same response as https://server:port/jts/admin/projects) :-(
Header and authorization is set.

Edit: I used the Firefox Plugin RESTClient and REST Easy to submit the GET.
Edit2: Same response in via java code (response.getEntity().getContent())

I tried loading the /jts/rootservices URL using the RESTClient on Firefox and found the following URL for LPA projects. Using this URL I can list the user projects:

https://server:port/jts/lifecycle-project/user-projects

Could you try the above URL?

 Here is a screenshot:

https://server:port/jts/lifecycle-project/user-projects  also works for me. Thanks for providing the link.


Permanent link
I really don't like the implementation of LPA REST API in CLM 5.x - it's all over the place. There is no such an "entry point" that you can construct your URL. You may have found out that the URL can start with /jts/lpa, /jts/lifecycle-project/projects, /jts/lifecycle-projects/user-projects, or something else that we have not discovered yet.

The API is still a "draft". Seeing that there are virtually no movements in the associated work item, my impression is that this API is not being actively developed. I don't really recommend using such API in your production environment.

0 votes

Comments

Hi Donald, thank you very much for sharing your experiences.
As there are no official documentations about the API under CLM 5.x and as you mentioned, no progress in the work item, I will try to avoid the use of LPA API in my production environment.

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

Question asked: Jan 11 '16, 3:10 a.m.

Question was seen: 2,053 times

Last updated: Jan 12 '16, 3:26 a.m.

Confirmation Cancel Confirm