Class IssueFinderImpl

java.lang.Object
com.atlassian.jira.issue.fields.rest.IssueFinderImpl
All Implemented Interfaces:
IssueFinder

public class IssueFinderImpl extends Object implements IssueFinder
Finds issues by id or key.
Since:
v5.0
  • Constructor Details

  • Method Details

    • findIssue

      public Issue findIssue(@Nonnull IssueRefJsonBean issueRef, @Nonnull ErrorCollection errorCollection)
      Description copied from interface: IssueFinder
      Finds an issue based on the passed-in id or key.
      Specified by:
      findIssue in interface IssueFinder
      Parameters:
      issueRef - an IssueRefJsonBean that contains either an id or key
      errorCollection - an ErrorCollection where any errors will be added
      Returns:
      an Issue or null
    • findIssue

      public Issue findIssue(@Nullable String issueIdOrKey, @Nonnull ErrorCollection errorCollection)
      Description copied from interface: IssueFinder
      Finds an issue based on the passed-in id or key.
      Specified by:
      findIssue in interface IssueFinder
      Parameters:
      issueIdOrKey - a string that may be an an id or key
      errorCollection - an ErrorCollection where any errors will be added
      Returns:
      an Issue or null