Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Get API to retrieve approver details from Jira Service Desk

I am looking for the API which will return the approver details from the Jira Service Desk. I have already gone through this{issueIdOrKey}/approval-getApprovals , But I want to query approver details using JQL Advanced Search or else is there any other way to get all the approver details for the given request instead of using{issueIdOrKey}/approval-getApprovals.

1 answer

There are some nice JQL functions around approvals. See

If you have different user fields for different approvals and want to know more than, "What are the issues needing approval", like "I want to know who has approvals outstanding", that's challenging, because that pivots from an Issue view to a User view, which is not really what Jira does.

Let's say you want a daily prompt to approvers You can do an automation around this, like:

  1. Daily scheduled action
  2. If: updated < 7d
    • Note: you could probably do a more advanced check here like when the issue was last transitioned.
  3. And advanced compare: {{issue.Approvals.finalDecision}} contains pending
  4. Then: edit issue: add request participants:  {{#issue.Approvals}}{{if(equals(finalDecision,"pending"),approvers)}}{{/}}
  5. And: add customer visible comment:
    • Dear {{#issue.Approvals}}{{if(equals(finalDecision,"pending"),approvers.displayName.join(", "))}}{{/}} these issues are still waiting for your approval.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events