| Package | Description |
|---|---|
| com.atlassian.servicedesk.api.approval |
| Modifier and Type | Method and Description |
|---|---|
static ApprovalDecisionType |
ApprovalDecisionType.forKey(String key) |
ApprovalDecisionType |
ApprovalDecision.getDecision()
The final decision of
Approval |
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 |
|---|---|
com.atlassian.fugue.Option<ApprovalDecisionType> |
Approver.getApproverDecision()
Get decision of
Approver |
com.atlassian.fugue.Option<ApprovalDecisionType> |
Approval.getDecision()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,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 © 2017 Atlassian. All rights reserved.