Class RequestFeedbackDetails

java.lang.Object
com.atlassian.servicedesk.api.feedback.RequestFeedbackDetails

@PublicApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class RequestFeedbackDetails extends Object
The return type that wraps all required data for a Jira Service Management Request Feedback token and link
Since:
3.7.0
  • Constructor Details

    • RequestFeedbackDetails

      public RequestFeedbackDetails(com.atlassian.jira.user.ApplicationUser recipient, com.atlassian.jira.issue.Issue issue, String feedbackQuestion, RequestFeedbackToken requestFeedbackToken, int feedbackScale)
  • Method Details

    • getRecipient

      public com.atlassian.jira.user.ApplicationUser getRecipient()
      The recipient that this token was requested for, who must also be the reporter of the issue
      Returns:
      The expected recipient of feedback token
    • getIssue

      public com.atlassian.jira.issue.Issue getIssue()
      The issue that this token was requested for
      Returns:
      The issue of feedback token
    • getFeedbackQuestion

      public String getFeedbackQuestion()
      The question to ask when requesting feedback.
      Returns:
      The question to ask
    • getRequestFeedbackToken

      public RequestFeedbackToken getRequestFeedbackToken()
      The token details required to be able to add feedback on this request
      Returns:
      The feedback token details
    • getFeedbackScale

      public int getFeedbackScale()
      The scale to be used for providing feedback.

      For example, a value of 5 here, means that the feedback should be recorded in form of 4 out of 5.

      Returns:
      The scale to be used for collecting feedback
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object