User Activity SQL Query

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Customers ask for a query to pull all the user activity from Jira for a specific user for a specific period of time. They need the exact information that displays on the Activity tab of a user's profile, without having to click the Show More... link dozens of times.

Diagnosis

In the User Profile you can retrieve this information but it takes to much time and some times you can't find all the information if it is too old.

Resolution

You can run the following query at your database:

select * from changeitem CI
join changegroup CG on CI.groupid = CG.id
where author = 'xxx'
and created between '2013-07-01 00:00:00' and '2013-07-31 00:00:00'

 You need to change the author from xxx to the username you want to search and adjust the period of time.

This query will list all the changes the user have made, the old value, the new value and when it was made.

Last modified on Feb 23, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.