Looking for a SQL query to list all the Jira projects with its users and roles.
@Reneesh Kottakkalathil - try this
SELECT project.Id, project.pname, project.pkey, projrole.PROJECTROLEID, projrole.ROLETYPEPARAMETER
FROM [jiradb].[dbo].[project] as project
JOIN [jiradb].[dbo].[projectroleactor] as projrole
ON project.Id = projrole.PID
Order by pname ASC
If you want to pull in project leads just add project.Lead
Excellent! Thanks so much @Thomas B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome @Reneesh Kottakkalathil glad it worked. Please accept the answer if you can.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thomas B Answer Accepted. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.