pendingForApproval() Function

mariola howell August 18, 2015

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

0 votes
mariola howell August 19, 2015

Thank you!

Antonella Capalbo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2015

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

0 votes
Antonella Capalbo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2015

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

mariola howell August 21, 2015

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

Antonella Capalbo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2015

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.

mariola howell August 25, 2015

thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events