@ExperimentalApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface RequestFeedbackDetailsService
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestFeedbackDetails> |
getRequestFeedbackDetails(com.atlassian.jira.user.ApplicationUser recipient,
com.atlassian.jira.issue.Issue issue)
For a given user and issue, will return the details required for Request Feedback, if:
Provided user is the reporter of the provided issue
The issue is a valid Service Desk request
Request Feedback is enabled for the Issue
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,RequestFeedbackDetails> getRequestFeedbackDetails(com.atlassian.jira.user.ApplicationUser recipient, com.atlassian.jira.issue.Issue issue)
NB: This will be executed in the customer context. See CustomerContextService
recipient
- The recipient that feedback token is requested for, who must be the reporter of issue, otherwise will errorissue
- The issue that the feedback token is requested forEither.left()
if there was any error, otherwise a Either.right()
with resultCopyright © 2017 Atlassian. All rights reserved.