Package | Description |
---|---|
com.atlassian.servicedesk.api.approval |
Modifier and Type | Method and Description |
---|---|
static ApprovalDecisionType |
ApprovalDecisionType.forKey(String key) |
ApprovalDecisionType |
ApprovalDecision.getDecision() |
static ApprovalDecisionType |
ApprovalDecisionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApprovalDecisionType[] |
ApprovalDecisionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Optional<ApprovalDecisionType> |
Approver.getApproverDecision()
Get decision of
Approver |
Modifier and Type | Method and Description |
---|---|
Approval |
ApprovalService.answerApproval(com.atlassian.jira.user.ApplicationUser user,
Approval approval,
ApprovalDecisionType decision)
Answer to an approval of a given
approvalId
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 to |
Copyright © 2018 Atlassian. All rights reserved.