public class

IssueFinderImpl

extends Object
implements IssueFinder
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.IssueFinderImpl

Class Overview

Finds issues by id or key.

Summary

Public Constructors
IssueFinderImpl(JiraAuthenticationContext authContext, IssueManager issueManager, PermissionManager permissionManager)
Public Methods
Issue findIssue(IssueRefJsonBean issueRef, ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.
Issue findIssue(String issueIdOrKey, ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.rest.IssueFinder

Public Constructors

public IssueFinderImpl (JiraAuthenticationContext authContext, IssueManager issueManager, PermissionManager permissionManager)

Public Methods

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

public Issue findIssue (String issueIdOrKey, ErrorCollection errorCollection)

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

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