Interface JiraIssueManager
-
- All Known Implementing Classes:
JiraIssueManagerImpl
@ExperimentalApi public interface JiraIssueManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends InternalLinkedJiraIssue>
@NotNull Iterable<T>getJiraIssueDetails(@Nullable Project bambooProject, @NotNull Iterable<T> linkedJiraIssues)
Get issue details from JIRA via XML Search.@NotNull JiraIssueDetails
getJiraIssueDetails(@Nullable Project bambooProject, @NotNull String issueKey)
Get issue details for a single issue.
-
-
-
Method Detail
-
getJiraIssueDetails
@NotNull <T extends InternalLinkedJiraIssue> @NotNull Iterable<T> getJiraIssueDetails(@Nullable @Nullable Project bambooProject, @NotNull @NotNull Iterable<T> linkedJiraIssues) throws CredentialsRequiredContextException, com.atlassian.sal.api.net.ResponseException
Get issue details from JIRA via XML Search.- Parameters:
bambooProject
- Bamboo project for which the search is executedlinkedJiraIssues
- JIRA issues to be completed with data fetched from JIRA- Returns:
Iterable
ofInternalLinkedJiraIssue
objects representing JIRA issues.- Throws:
CredentialsRequiredContextException
- In case applicationLink requires authentication in order to establish connection with JIRAcom.atlassian.sal.api.net.ResponseException
-
getJiraIssueDetails
@NotNull @NotNull JiraIssueDetails getJiraIssueDetails(@Nullable @Nullable Project bambooProject, @NotNull @NotNull String issueKey) throws CredentialsRequiredContextException, com.atlassian.sal.api.net.ResponseException
Get issue details for a single issue.- Parameters:
bambooProject
- Bamboo project for which the search is executedissueKey
- of the Issue to retrieve- Returns:
- Jira Issue Details retrieved from JIRA, if issue was found, and user has permission to see it
- Throws:
CredentialsRequiredContextException
- if oauth handshake requiredcom.atlassian.sal.api.net.ResponseException
-
-