Filtering on Approvers

We're using your approval add-on and need the ability to filter issue queries based on approvers. What's currently happening is we have a long list of issues pending approval, and once a given approver takes action on a specific issue, there is no way to filter that issue from the others still needing that approvers action. Is there a JQL function available to access any of the approvals schema? 

We tried turning on logging approvals to JIRA comments, with the thought we'd then be able to filter on the comments, but that doesn't seem to work. Using a simple query like comment ~ "APPROVED by jirauser" returns nothing. This type of text search works for other text, but not the text entered by Herzum. Similarly, we have an add-on function to search by commentedByUser(). It works with other comments but finds nothing for Herzum entered comments.

Can you help?

1 answer

1 accepted

Page has the whole list of available JQL functions.

The available JQL functions should be able to satisfy you needs and maybe you will not need to search into the comments.


Anyway, an Herzum Approval Comment doesn't differ by any other comment.

I wonder that search based on comment doesn't work.

I have run a search based on comment into our staging environments and it returned the expected result as showed by the screenshot below:


Can you please ensure that a comment "APPROVED by jirauser" exists on one issue at least?




I did have an approved comment, along with another comment by the same user, and the other comment would be listed while the Herzum approval comment wouldn't.

But it doesn't matter now, because the myPendingApproval() function works perfectly.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

355 views 0 6
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you