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

How to get user license info via OSLC / REST API ?

I am writing a user reporting tool and need to get each user's license info via the API. So far I have figured out the following:

All Users (name,ID,Modified,Archived)
https://SERVER:PORT/jts/rpt/repository/foundation?fields=foundation/contributor/*/*

All Users (name,ID,Modified,Photo)
https://SERVER:PORT/jazz/oslc/users

Neither of the lists include license info and one list has the photo but not archived info and the other has archive info but not the photo (would prefer one list that has both).

I found some info on an individual user basis:

(TimeZone,HoursPerDay,Allocations)
https://SERVER:PORT/jazz/service/com.ibm.team.apt.internal.service.rest.IResourcePlanningRestService/workEnvironment?contributorId=UNIQUEITEMIDOFUSER

Great! I can get work day and allocation info - but still no license info! How do I get the license info of users through the API?

3 votes

Comments

Please, somebody? I will be happy to share this tool if someone can help me make it work! I need to get license info through the API. More specifically, I need to know who has Contributor versus Developer licenses.

How are those exposed through the API? Can you provide a complete URL?

The role information is unrelated to the license information, so obtaining information about the roles a person has been assigned in a project area does not tell you anything about any licenses they may have on that Jazz server.

Thank you, yes, I am looking for a list of users and their paid licenses, such as Developer, Contributor, Stakeholder. Being able to pull license info for an individual user is OK too. I am looking for a single REST API command, not java code for the Java API.

I am not looking for jazz roles, such as JazzUsers, JazzAdmins, JazzDWAdmins, which I can get from the tomcat-users.xml file if needed. I am also not looking for project or team roles, such as Scrum Master, Product Owner, etc.


Be the first one to answer this question!

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,943
× 478
× 110
× 14

Question asked: Aug 30 '13, 5:21 p.m.

Question was seen: 6,642 times

Last updated: Oct 14 '13, 1:58 p.m.

Confirmation Cancel Confirm