Where In the Database are Approvals Stored?

We have a workflow process that requires multiple approvals.  It would be helpful to report on the item and include who and when an approval or rejection was recorded.  We are using the server version of Service Desk but do not know how to pull the approvals in a SQL report.  Any ideas?

1 answer

Hi Todd,

from experience I can only discourage you from going direct to the SQL Database, as the Schema is complex & can change with very little notice from version to version. 

We moved away from direct SQL Queries a long time ago and moved to the REST API's provided. They tend to be very, very stable. 

So if REST is an option for you, you should have a look at in the REST Servicedesk API:


Which should get you all approvals to a specific Issue.

There are also Rest Methods to get all Issues in a Queue or matching a JQL statement and then you'd have to iterate through them.

I appreciate not quite the answer you asked for but this may present a more stable/best-practice way.


I have to agree with that.  The Jira database is in no way built for any form of reporting, it's a data store.  Using SQL to read it is the single worst possible option for reporting.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,066 views 6 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot