Info |
---|
|
This page provides information about Approval JQL Functions. Select an Approval JQL Function from the Approval Menu or type it in the Jira Search Navigator.
|
pendingForApproval()
This function returns issues having at least one approval request in 'Pending' status.
This function can take 0 or 1 argument (the Project Key).
Admissible operators include IN and NOT IN.
If you do not specify any argument the function returns all issues having at least one approval request in 'Pending' status.
Code Block |
---|
|
issue in pendingForApproval() |
Info |
---|
|
|
You are able to specify one Project Key in order to return only issues, that belong to the selected Project, having at least one approval request in 'Pending' status.
Code Block |
---|
|
issue in pendingForApproval(Project Key) |
Info |
---|
|
|
pendingForApprovalName()
This function returns all issues having at least one approval request in 'Pending' status for the specific 'approval name'.
This function expects the argument approval name.
Code Block |
---|
|
issue in pendingForApprovalName(<approvalname>) |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
pendingForUserApproval()
This function returns all issues having at least one approval request in 'Pending' status for the specific user.
This function expects the argument username.
Code Block |
---|
|
issue in pendingForUserApproval(<username>) |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
pendingUserApprovalName
This function returns all issues having at least one approval request in 'Pending' status for the specific User Name and Approval Name.
This function expects the argument an User Name and Approval Name.
Code Block |
---|
|
issue in pendingUserApprovalName(<username><approvalname>) |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
PendingNotifiedApproval()
This function returns all issues having at least one notified approval request in 'Pending' status.
This function doesn't take any arguments.
Code Block |
---|
|
issue in PendingNotifiedApproval() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
PendingUserNotifiedApprovalPendingForUserNotifiedApproval()
This function all issues having at least one notified approval request in 'Pending' status for the specific user.
This function expects the argument username.
Code Block |
---|
|
issue in PendingUserNotifiedApprovalPendingForUserNotifiedApproval(<username>) |
Admissible operators include IN and NOT IN.
Info |
---|
|
Image RemovedImage Added |
myPendingApproval()
This function returns issues having at least one approval request waiting for logged user approval action.
This function can take 0 or 1 argument (the Project Key).
Admissible operators include IN and NOT IN.
If you do not specify any argument the function returns all issues having at least one approval request waiting for logged user approval action.
Code Block |
---|
|
issue in myPendingApproval() |
Info |
---|
|
|
You are able to specify one Project Key in order to return only issues, that belong to the selected Project, having at least one approval request waiting for logged user approval action.
Code Block |
---|
|
issue in myPendingApproval(SD) |
myPendingNotifiedApproval()
This function returns all the issues having at least one notified approval request waiting for logged user approval action.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myPendingNotifiedApproval() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
This function returns all the issues having at least one pending approval for logged user that doesn't require an approbation comment.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myPendingNoComment() |
Admissible operators include IN and NOT IN.
pendingForGroupApproval()
The function returns all issues having at least one approval request in 'Pending' status for the specified Group.
This function expects the argument Group.
Code Block |
---|
|
issue in pendingForGroupApproval("<Group>") |
The search for issue in pendingForGroupApproval("") returns all issues having at least one notified approval request in 'Pending' status for every Group.
Admissible operators include IN and NOT IN.
Info |
---|
|
|
pendingForGroupNotifiedApproval()
The function returns all issues having at least one notified approval request in 'Pending' status for the specified Group.
This function expects the argument Group.
Code Block |
---|
|
issue in pendingForGroupNotifiedApproval("<Group>") |
The search for issue in pendingForGroupNotifiedApproval("")returns all issues having at least one notified approval request in 'Pending' status for every Group.
Admissible operators include IN and NOT IN.
Info |
---|
|
|
pendingApprovalDays()
The function returns all issues having at least one pending approval request in 'Pending' status for a number of days greater or equal to the specified Days.
This function expects the argument Days.
The argument Days is required.
Code Block |
---|
|
issue in pendingApprovalDays("<Integer>") |
Admissible operators include IN and NOT IN.
rejectedForApprovalStatus()
This function returns all issues having at least one approval request in 'Rejected' status.
This function doesn't take any arguments.
Code Block |
---|
|
issue in rejectedForApprovalStatus() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
myRejectedApproval()
This function returns all issues having at least one approval request that has been 'Rejected' by the logged user.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myRejectedApproval() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
approvedForApprovalStatus()
This function returns all issues having all approval requests in 'Approved' status.
This function doesn't take any arguments.
Code Block |
---|
|
issue in approvedForApprovalStatus() |
Admissible operators include IN and NOT IN.
approvedOrAbstainedStatus()
This function returns all issues having all approval requests in 'Approved' or 'Abstained' statuses.
This function doesn't take any arguments.
Code Block |
---|
|
issue in approvedOrAbstainedStatus() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
myApprovedApproval()
This function returns all issues, found in the Approval Source Status, having at least one approval request that has been 'Approved' by the logged user.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myApprovedApproval() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
myApprovedInHistory()
This function filters in Approval History all issues having received an Approbation by the logged user.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myApprovedInHistory() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
myApprovedOrAbstainedStaus()
This function returns all issues having at least one approval request that has been 'Approved' or 'Abstained' by the logged user.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myApprovedOrAbstainedStaus() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
pendingAutomaticTransitioning()
This function returns all issues configured to be automatically transitioned on reached approbations.
This function doesn't take any arguments.
Code Block |
---|
|
issue in pendingAutomaticTransitioning() |
Admissible operators include IN and NOT IN.
defineApproval()
This function returns all issues configured with specific approvals (not following the overall approval mapping).
This function doesn't take any arguments.
Code Block |
---|
|
issue in defineApproval() |
Admissible operators include IN and NOT IN.
failedAutomaticTransitioning()
This function returns all issues not automatically transitioned due to conditions and validators have not been validated.
This function doesn't take any arguments.
Code Block |
---|
|
issue in failedAutomaticTransitioning() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
myPendingForDelegatedApproval()
This function returns all issues pending for my approval due to I'm a delegated approver.
This function doesn't take any arguments.
Code Block |
---|
|
issue in myPendingForDelegatedApproval() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
This function returns all issues pending for logged user approval due to a delegation that doesn't require an approbation comment.
This function doesn't take any arguments.
Code Block |
---|
|
issue in MyPendingForDelegatedNoComment() |
Admissible operators include IN and NOT IN.
PendingForDelegatedApproval()
This function returns issues pending for approval due to a delegation from a specific delegator for a specific project and issue type in a given time range.
This function takes the listed arguments: delegator username(mandatory), Project Id (optional), IssueType Id (optional), Start Date (optional), End Date (optional).
Code Block |
---|
|
issue in pendingForDelegatedApproval('delegator username',10004,'10006','','') |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
noApprovalsReceived()
This function returns all issues pending for approval that have no yet received any approbation.
This function doesn't take any arguments.
Code Block |
---|
|
issue in noApprovalsReceived() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
partiallyApproved()
This function returns all issues pending approval having already at least catched one approbation.
This function doesn't take any arguments.
Code Block |
---|
|
issue in partiallyApproved() |
Admissible operators include IN and NOT IN.
Info |
---|
|
|
approvedApproval()
This function returns all issues with a number of approbations from an Approval (specified by name) greater than the specified Number.
This function expects the arguments Approval Name and an integer.
All two the arguments are required.
Code Block |
---|
|
(issue in approvedApproval("Approval Name", 1) |
Info |
---|
|
|