Uses of Interface
com.atlassian.servicedesk.api.approval.Approval
Packages that use Approval
-
Uses of Approval in com.atlassian.servicedesk.api.approval
Methods in com.atlassian.servicedesk.api.approval that return ApprovalModifier and TypeMethodDescriptionApprovalService.answerApproval
(com.atlassian.jira.user.ApplicationUser user, Approval approval, ApprovalDecisionType decision) Answer to an approval of a givenapprovalId
The answer could be approve or decline Required permissions: - User is an approver of the approval - User can view the request that the approval belongs toApprovalService.answerApproval
(com.atlassian.jira.user.ApplicationUser user, Approval approval, ApprovalDecisionType decision, ApprovalComment approvalComment) Answer to an approval of a givenapprovalId
The answer could be approve or decline Required permissions: - User is an approver of the approval - User can view the request that the approval belongs toApprovalService.getApprovalById
(com.atlassian.jira.user.ApplicationUser user, int approvalId) Return anApproval
for a givenapprovalId
orAnError
if: -user
does not have permission to viewissue
in customer portal context - Approval was not found for the givenapprovalId
Methods in com.atlassian.servicedesk.api.approval that return types with arguments of type ApprovalModifier and TypeMethodDescriptionApprovalService.getApprovals
(com.atlassian.jira.user.ApplicationUser user, ApprovalQuery approvalQuery) Retrieve a page ofApproval
of a particularApprovalQuery
Methods in com.atlassian.servicedesk.api.approval with parameters of type ApprovalModifier and TypeMethodDescriptionApprovalService.answerApproval
(com.atlassian.jira.user.ApplicationUser user, Approval approval, ApprovalDecisionType decision) Answer to an approval of a givenapprovalId
The answer could be approve or decline Required permissions: - User is an approver of the approval - User can view the request that the approval belongs toApprovalService.answerApproval
(com.atlassian.jira.user.ApplicationUser user, Approval approval, ApprovalDecisionType decision, ApprovalComment approvalComment) Answer to an approval of a givenapprovalId
The answer could be approve or decline Required permissions: - User is an approver of the approval - User can view the request that the approval belongs toApprovalService.canAnswerApproval
(com.atlassian.jira.user.ApplicationUser user, Approval approval) Return true ifuser
can answer this approval or false if: - user is not approver of the passed in approval - the approval is not pending anymore - the issue that the approval belong to does not have the same current status as the approval configured - user already made decisionApprovalService.getApprovers
(com.atlassian.jira.user.ApplicationUser user, Approval approval) Return a list ofApprover
for a givenapproval