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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.