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.ROLETYPEPARAMETERFROM [jiradb].[dbo].[project] as projectJOIN [jiradb].[dbo].[projectroleactor] as projroleON project.Id = projrole.PIDOrder by pname ASC
If you want to pull in project leads just add project.Lead
Excellent! Thanks so much @Thomas B
Awesome @Reneesh Kottakkalathil glad it worked. Please accept the answer if you can.
@Thomas B Answer Accepted. Thanks.
It looks like you're new here. Sign in or register to get started.