Does anyone know of a way to easily retrieve a list of all project administrators in JIRA? Is there a SQL query somewhere that I can poach or some other way to get this data out of JIRA?
Google wasn't as helpful as I'd hoped. Suggestions?
I feel like there is an email this issue plugin that will let me email users based on role, perhaps I need to look at that. Either way, just need a quick way to identify and message all project admins. Appreciate any suggestions.
The admin role is fine for me, we want to extend it beyond just the leads because sometimes leads are just figure heads. They own the project, but aren't the worker bees involved.
I can't use this apparoch in 3.13.2 though. I think the JIRA Email This Issue Plugin has an option to just email all users that may be similar. i can try that. If not, I may be able to send a blast out using a dev JIRA 4 instance. I'll have to try it.
Thanks for the input though Jobin and Nic.
select lead project_admin,project.pname from project union select projectroleactor.roletypeparameter, project.pname from projectroleactor, projectrole, project where projectrole.id = projectroleactor.projectroleid and projectroleactor.pid =project.id and projectroleactor.roletype ='atlassian-user-role-actor' and projectrole.name = 'Administrators';
even i am looking for the same. I used this query , However the email address i am not able to connect here. Any query which list of Email address of the Project Admin ?
Project Lead is not the same as Project Administrators. I'm using the following SQL to find any group and/or user who are Project Administrators of any Project.
select prjra.roletypeparameter, prj.pname, prj.pkey from PROJECTROLEACTOR prjra, PROJECT prj, PROJECTROLE prjr where prjra.roletypeparameter in ('group1', 'group2', 'user1', ...) and prjra.pid = prj.id and prjra.projectroleid = prjr.id and prjr.name = 'Administrators'
Below is the latest/cleanest query that can easily be modify according to your needs
SELECT p.pname, pr.NAME, u.display_name, u.email_address FROM projectroleactor pra INNER JOIN projectrole pr ON pr.ID = pra.PROJECTROLEID INNER JOIN project p ON p.ID = pra.PID INNER JOIN app_user au ON au.lower_user_name = pra.ROLETYPEPARAMETER INNER JOIN cwd_user u ON u.user_name = au.user_key where pr.NAME = 'Administrators' order by p.pname;
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot