Forums

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

As an Admin how can I query Jira's backend database for things like users and groups?

Gail
Contributor
May 9, 2022

I am finding spotty information on database scheme, but I can't find the basics of how to setup database querying, what tools to user, etc.    Any help would be greatly appreciated.   

I want to be able to query Jira users, groups to do things like export lists of users in groups, etc.

 

Thanks in advance

2 answers

2 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 9, 2022

If you are using a server or DC version install, then the simple answer is "don't look at the database".  It's a data store, not a real datbase, just a complete mess when you come to reporting off it.

Use the REST API.  It's faster and easier to understand.

Gail
Contributor
May 10, 2022

Thanks!!

0 votes
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2022

Hey @Gail ,

You tagged this question as jira-software-cloud. On Cloud you don't have access to the database directly.

The best alternative would be to use the REST api to "query" for some of the information you want.

You can find details about the endpoints here: https://developer.atlassian.com/cloud/jira/platform/rest/

Gail
Contributor
May 9, 2022

Thanks so much -- I wondered about that.   :)

Suggest an answer

Log in or Sign up to answer