Class IssueFinderImpl
java.lang.Object
com.atlassian.jira.issue.fields.rest.IssueFinderImpl
- All Implemented Interfaces:
IssueFinder
Finds issues by id or key.
- Since:
- v5.0
-
Constructor Summary
ConstructorsConstructorDescriptionIssueFinderImpl
(JiraAuthenticationContext authContext, IssueManager issueManager, PermissionManager permissionManager, AccessDeniedAuditHandler accessDeniedAuditHandler) -
Method Summary
Modifier and TypeMethodDescriptionfindIssue
(IssueRefJsonBean issueRef, ErrorCollection errorCollection) Finds an issue based on the passed-in id or key.findIssue
(String issueIdOrKey, ErrorCollection errorCollection) Finds an issue based on the passed-in id or key.
-
Constructor Details
-
IssueFinderImpl
public IssueFinderImpl(JiraAuthenticationContext authContext, IssueManager issueManager, PermissionManager permissionManager, AccessDeniedAuditHandler accessDeniedAuditHandler)
-
-
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 interfaceIssueFinder
- Parameters:
issueRef
- an IssueRefJsonBean that contains either an id or keyerrorCollection
- an ErrorCollection where any errors will be added- Returns:
- an
Issue
ornull
-
findIssue
Description copied from interface:IssueFinder
Finds an issue based on the passed-in id or key.- Specified by:
findIssue
in interfaceIssueFinder
- Parameters:
issueIdOrKey
- a string that may be an an id or keyerrorCollection
- an ErrorCollection where any errors will be added- Returns:
- an
Issue
ornull
-