Forums

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

SQL Query help: AD group usage in Jira and Confluence instance.

Vasanthakumar Velusamy December 28, 2022

Team, I am trying to fetch the list of projects using particular AD group in Jira and Confluence. I have tried few query but no luck, can someone help me on this?

1 answer

1 accepted

0 votes
Answer accepted
Tom Lister
Community Champion
December 29, 2022

Hi @Vasanthakumar Velusamy 

This will list projects, roles and members

SELECT  pname as Project, pr.name as Role, roletype, roletypeparameter
FROM public.projectroleactor pra, projectrole pr, project po
where pr.id = pra.projectroleid
AND po.id = pra.pid
You can add filter to restrict to a group
SELECT  pname as Project, pr.name as Role, roletype, roletypeparameter
FROM public.projectroleactor pra, projectrole pr, project po
where pr.id = pra.projectroleid
AND po.id = pra.pid
AND roletype = 'atlassian-group-role-actor'
AND roletypeparameter = 'jira-administrators'

I don't have access to confluence db at the moment

Vasanthakumar Velusamy January 3, 2023

Thanks @Tom Lister for your response. Its worked as expected.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events