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
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...

359 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