public interface

IssueFinder

com.atlassian.jira.issue.fields.rest.IssueFinder
Known Indirect Subclasses

Class Overview

Finds an issue based on its 'id' or 'key'. For the key, it will follow moved issues, and try to match the key in a case-insensitive way

Summary

Public Methods
@Nullable Issue findIssue(IssueRefJsonBean issueRef, ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.
@Nullable Issue findIssue(String idOrKey, ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.

Public Methods

@Nullable public Issue findIssue (IssueRefJsonBean issueRef, ErrorCollection errorCollection)

Finds an issue based on the passed-in id or key.

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

@Nullable public Issue findIssue (String idOrKey, ErrorCollection errorCollection)

Finds an issue based on the passed-in id or key.

Parameters
idOrKey a string that may be an an id or key
errorCollection an ErrorCollection where any errors will be added
Returns
  • an Issue or null