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 givenapprovalIdThe 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 givenapprovalIdThe 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 anApprovalfor a givenapprovalIdorAnErrorif: -userdoes not have permission to viewissuein customer portal context - Approval was not found for the givenapprovalIdMethods 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 ofApprovalof a particularApprovalQueryMethods 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 givenapprovalIdThe 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 givenapprovalIdThe 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 ifusercan 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 ofApproverfor a givenapproval