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?
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:
servicedeskapi/request/{issueIdOrKey}/approval
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.
Cheers,
Christian
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.