pendingForApproval() Function

Hi,

We configured our approval mapping (AWT) for the Request-Approval button to appear when issues of a certain type are in the status In-Progress.

Once the button is clicked to request approvals, we would like the approvers to be able to keep track of all issues pending their approval with help of the myPendingApproval() function. As well as we would like to use the pendingForApproval() function to filter all issues pending approval - once the approvals have been requested.

However, when we use those functions, all issues are filtered which currently contain the Approval button. Even if the button has not been clicked yet, and the approvals have not been requested.

Please advise how we should structure our query to obtain the desired results. Is this a bug? It appears that a solution would be to query based on the Request-Notification field, and disregard those where the request has not been sent yet. But Request-Notification is not a field that can be queried.

Thank you,

mariola

 

 

 

2 answers

Hello Mariola,
the myPendingApproval() JQL function returns all the issues having at least one approval request waiting for logged user approval action (Approve or Reject) without checking if the notification has been notified already.
The pendingForApproval() JQL function doesn't check if the approvals have been notified as well. 
The two JQL funcions follow the expected behavior so it is not a bug.

We are going to meet your requirements via two new JQL functions myPendingNotifiedApproval() and PendingNotifiedApproval().
The next add-on version to be released in September will include this feature.

Best Regards

When in September will the new add-on version be released?

Hi Mariola, the add-on version I have mentioned is the 2.9. I expect that on August 24 it is going to be released on the Marketplace v. 2.8.2 not jet including the feature you have required. Meanwhile the team has already started working on v. 2.9 and the planned release date is September 8.

Hello Mariola, the add-on version 2.9 is now available on the Atlassian Marketplace. This version provides the new JQL functions myPendingNotifiedApproval() and PendingNotifiedApproval() as per your request. The customer support documentation details the topic at https://chicago.herzum.com/confluence/display/HAP/JQL+functions. Best Regards

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

118 views 0 4
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