Hello,
I'm looking to query the Jira DB for a list of all active users that have ever created tickets. Is there a way to do that? I've been unable to identify a similar query in my research, and I'm not sure which tables contain the information that I'm looking for.
Thank you!
Welcome to the Atlassian Community!
First, my usual advice - reporting off a Jira database is the worst possible way you can report on Jira.
It's slow, ugly ("show me issue X" takes 12 joins before you triple that with adding "in human language" to the question) and you will probably not understand the answers it gives you. It's also possible to cripple the performance of the database to the point where it takes down your Jira if you're not running queries against a replica of production. To be avoided at all times.
But yours is not a complex query likely to cause you problems.
Start with "select creator from jiraissue;" and then you will probably want to join that to cwd_user on "creator = id to get the human data (email, username, display name, etc)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.