It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Searching by approvers field in JIRA

I use JIRA cloud. And my team uses "approvers" field to request for reviewing casually. But I seem that we can not search by "approvers" field by using JQL. Please teach me how to search by "approvers" field on JIRA.

2 answers

0 votes
Tansu Akdeniz Community Leader Jul 08, 2019

Hi @tokuda ,

Please check this one:

  • Approvals = approver("TANSU")

It finds requests that require or required approval by Tansu.

Functions:

image.png

 

Detailed info: https://confluence.atlassian.com/jiracorecloud/advanced-searching-fields-reference-765593716.html#Advancedsearching-fieldsreference-ApprovalsApprovals

Hope it helps.

Tansu

Thanks for your comments.

But my team doesn't use `Jira Service Desk`, so I can't use the function `Approvals`.

I want to filter by `approvers` without `Jira Service Desk`.

Like Samuel P likes this

Hello and sorry to hijack this question but I have the same problem.  I'm trying to filter on a specific name in the Approvers field, across multiple projects, some of which are service desk and some are classic business.  

I have tried:

status = "Awaiting Approval" AND Approvals = approver("rmitchell") ORDER BY created DESC

and get No Issues found.

Any advice here?  Thank you very much in advance.

If the approvers field contains more than one user that jql will not identify the issue as relevant to the jql. I'm not sure what the right query is though.

You can use the OR function to separate queries to both fields to return all of the results.

status = "Awaiting Approval" AND Approver = 5d7bd791458a170db4b0a687 OR status = "Awaiting Approval" AND Approvals = approver("Jason Sweet")


Where 5d7bd791458a170db4b0a687 is Jason Sweet's ID , it will return both Software and Servicedesk issues that Jason sweet has been or is an approver on that is currently "Awaiting Approval"

(TIP: if you type out the "Approver =  " part of the query you can search users by name and it will input the ID)

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you