You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
If you have access to the backend of a Jira deployment you can query the database directly with SQL, but what if you are an end user?
I have been working on a open source project named Steampipe that uses Postgres Foreign Data Wrappers (FDW) to query cloud APIs via CLI or any Postgres client.
Our open source community just released a plugin for Jira: https://hub.steampipe.io/plugins/turbot/jira You run it from your local desktop and configure it with your API credentials so it only has access to data visible to those creds. Here is an example query:
select
display_name,
account_type as type,
active as status,
account_id
from
jira_user;
+-------------------------------+-----------+--------+-----------------------------+
| display_name | type | status | account_id |
+-------------------------------+-----------+--------+-----------------------------+
| Confluence Analytics (System) | app | true | 557058:cbc04d7be567aa5332c6 |
| John Smyth | atlassian | true | 1f2e1d34e0e56a001ea44fc1 |
+-------------------------------+-----------+--------+-----------------------------+
Hope others find it useful!