Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,584
Community Members
 
Community Events
176
Community Groups

How to connect with Jira Cloud database?

How to connect with the Jira Cloud database? we want to fetch some details related to login users details from Jira cloud database etc.

1 answer

1 accepted

2 votes
Answer accepted

If by "connect", you mean "log in and use SQL", you do not.  You have no direct access to it.

You have to get to your data via the application, either using the UI or REST APIs.

We wanted to fetch reports kind of data for our Jira cloud site e.g. users logged in in past N days. We wanted to check frequency of users logging-in during weekend or for last one week or for last one month. We need these details so that we can plan our Jira migration task accordingly. Can this be achieved using REST APIs? or is there any other way by which we can fetch this kind of information?

That level of tracking is not yet available in the REST APIs, but admins can see last logins in the list of users - a manual check, yes, but it's a simple one.

If you're planning a migration though, it's not really a lot of use.  You shouldn't actually be worrying about it.  You should be simply telling all your users "Migration is happening at this time, you will not have access to the old system from that point"

Like # people like this

When will that level of tracking be available? 

My company's reporting system queries multiple databases including our Jira and GitLab DBs and combines the results. If we can't even have read access to last_login_date in a DB table we're paying Atlassian to host, my company management definitely won't migrate to Jira Cloud.

Like TomA likes this

User last logged in is available in the UI already, and in Access if you're using that for accounts.

Your answer implied there was an intention to add that level of tracking to the REST API. True or false?

As it stands, my company will NOT adopt Jira Cloud because our DBA and Business Analyst cannot access its database. 

If the UI was any substitute for database queries, no one would have asked the original question.

Like TomA likes this

A Jira database has always been the ultimately terrible way to try to do any form of reporting.

Now you've moved to a SaaS version of it, where the database is inaccessible so you can't do bad things with it,  it's a good thing that you have no database access, it forces you to do your reporting properly, including monitoring your user base.

Like Julian Ting likes this

@Nic Brough -Adaptavist- What is someone supposed to do if they want to get hundreds of thousands of issues at one time?  Async and threading doesn't seem realistic due to rate limits.  Also, the underlying database can't be accessed.  So, the only option is to wait several hours for the program to fetch hundreds of thousands of issues?  A web-hook for real time updates doesn't help with the initial load.  Is there not even something similar to Enterprise Insights to get at this data?  I don't think that Enterprise Insights even contains all the data from Align or Cloud either.  Are there any kind of options of connecting Azure directly to Jira Cloud?  Any other options?

Like Klaus Reimüller likes this

@Nic Brough -Adaptavist- can you advise on how to get a report of user group assignment For example:

* permission schemes to which a user group belongs

* roles on each project to which a user group has been assigned

I have set up a load of user groups, roles and projects with user groups as roles and need to be able to see what each user group has access to.

Thanks.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events