Does JIRA have API to list approvers and the status of approval for Releases in a Project?
This is unacceptable that we cannot export this information easily. We are going through an audit and are under scrutiny for choosing a platform that cannot produce this information when requested.
I have found that you can use the graphql explorer to fetch this information.
Navigate to your instance's graphql - https://<your org>.atlassian.net/gateway/api/graphql
Then you can run this query to get the approver information:
query ReleaseHistoryQuery {jira @optIn(to: "JiraVersionDriverResult") {jiraProjectByKey(cloudId: "<your cloud id>", key: "<your project key>"){keyprojectTypeidversions(filter:RELEASED) {totalCountedges {node {nameversionIdstatusdescriptionstartDatereleaseDateissues {edges {node{issueIdsummary}}}contributors {edges {node {accountIdname}}}driverData {driver {accountIdname}}approvers {edges {node {user {accountIdname}}}}}}}}}}
You'll need to add a header to allow the jiraProjectByKey:
{"x-experimentalapi": "jiraProjectByKey"}
This worked for us, be aware that you need to manage the filter on versions. By default, the versions filter to "unreleased"
It looks like you're new here. Sign in or register to get started.