Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

list of project managers

Marat November 26, 2018

I ask for help in preparing the sql script.
I'm trying to get a list of project managers by MS SQL, who do not have Administrator permission in a project.

Jira version 6.3.10

1 answer

0 votes
miikhy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2018

Hi,

The following query might be doing the trick for you:

SELECT p.pname AS "Project Name", p.lead as "Project Lead Username", u.display_name AS "Project Lead" FROM "project" p LEFT JOIN cwd_user u ON p.lead = u.lower_user_name;

 It's designed for PgSQL but could be easily translated to any DB :)

Cheers

Marat November 29, 2018

Hi
Sorry maybe I wasn't clear. 
This script return list of lead, but not the permission in project.
How to return name lead and his permission in project ??

Suggest an answer

Log in or Sign up to answer