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

Create a JRS report on Users and Roles

Create a JRS report on Users and Roles. Is there a way to create a JRS report on the users and roles and in my RTC project area? We need to report on the teams as well.

0 votes



3 answers

Permanent link
You can't get that information via JRS but you can via OSLC or the reportable REST API with a query like this:

<your server>/ccm/rpt/repository/foundation?fields=foundation/teamArea[name=<team name>]/roleAssignments/(contributor/itemId|contributorRoles/name)

1 vote


Permanent link

 You can do this in JRS against the data warehouse, but you need to build a custom SQL report. All the data is available in the data warehouse if you know how to query for it. 


You'll want to look in the RIODS schema for these tables:  TEAM, TEAM_ASSIGNMENT, TEAM_MEMBER_LOOKUP, TEAM_RESOURCE_LOOKUP, TEAM_ROLE, TEAM_ROLE_MEMBER_LOOKUP

Here's a sample SQL query that will give you the Teams, Roles, and users who have these roles for a specific project
SELECT DISTINCT P.name as Project, T.NAME as Team, TR.NAME as TeamRole, R.name as Resource FROM RIODS.TEAM T, RIODS.TEAM_ROLE TR, RIODS.PROJECT P, RIODS.RESOURCE R, RIODS.TEAM_ROLE_MEMBER_LOOKUP L WHERE P.name = 'your project name here' and TR.TEAM_ID = T.TEAM_ID AND L.RESOURCE_ID = R.RESOURCE_ID AND L.TEAM_ROLE_ID = TR.TEAM_ROLE_ID AND P.project_id = T.project_id

1 vote

Comments

This is useful to know - thanks!


Permanent link

Expanding on Davyd's answer ... I believe some teams use the Jazz Foundation API to pull the data directly. See https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding


0 votes

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
× 12,014
× 7,486
× 1,699
× 359

Question asked: Dec 23 '19, 12:21 p.m.

Question was seen: 2,446 times

Last updated: Jan 06 '20, 5:31 p.m.

Confirmation Cancel Confirm