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?
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.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot