It's all about the answers!

Ask a question

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


Mike Shkolnik (9809161143) | asked Aug 30 '13, 5:21 p.m.
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?

Comments
Mike Shkolnik commented Oct 09 '13, 2:03 p.m.

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.



Mike Shkolnik commented Oct 11 '13, 12:27 p.m.

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


Geoffrey Clemm commented Oct 13 '13, 5:33 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.


Mike Shkolnik commented Oct 14 '13, 1:58 p.m.

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