Interface RequestFeedbackDetailsService
@PublicApi
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
public interface RequestFeedbackDetailsService
Provide a way to get access to the Request Feedback details that can be used with email notifications.
- Since:
- 3.7.0
-
Method Summary
Modifier and TypeMethodDescriptiongetRequestFeedbackDetails
(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 request in a service project Request Feedback is enabled for the Issue
-
Method Details
-
getRequestFeedbackDetails
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 request in a service project
- Request Feedback is enabled for the Issue
NB: This will be executed in the customer context. See
CustomerContextService
- Parameters:
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 for- Returns:
RequestFeedbackDetails
result- Throws:
ServiceDeskServiceException
- on error
-