JEP Reopen reporting


I am trying to run an audit trail on all of my companies historical jiras by making a table via sql server. I was wondering there was a table in the jira database that tracks how many time each jira has been reopened and the date a jira was reopened. I can find the a change of status to reopen in CHANGEITEM, but can't find an associated date to each reopen time. Any help or tips would be great. Thanks!


3 answers

1 accepted

This widget could not be displayed.

I can't speak for JEP, but if you need to do this with SQL, then you should join Changeitem to Changegroup.

Each changeitem line records "field X changed from Y to Z" (and you've found the status changes). If you look at changeitem, it's also got a "group id" field. Use that to read the id in changegroup and you'll find changegroup records the person who made the change, the issue ID and the date/time they did it.

This widget could not be displayed.
Hi Aaron Since JEP reopening counter is a calculated custom field and does not store any value on database, you can not get the results via Sql. If you need to get them via Sql, you should do what Nic says. Join changeitem and changegroup tables and get the attributes properly. However it will be difficult to get all fields like resolving/reopening users and dates in a single sql.
This widget could not be displayed.

Thank you both. I will join those tables to find the dates. Have a great weekend.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

545 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you