com.atlassian.bamboo.jira.jiraissues
Interface JiraIssueManager
- All Known Implementing Classes:
- JiraIssueManagerImpl
@ExperimentalApi
public interface JiraIssueManager
getJiraIssueDetails
@NotNull
<T extends InternalLinkedJiraIssue> Iterable<T> getJiraIssueDetails(@Nullable
Project bambooProject,
@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
of InternalLinkedJiraIssue
objects representing JIRA issues.
- Throws:
CredentialsRequiredContextException
- In case applicationLink requires authentication in order to establish connection with JIRA
CredentialsRequiredContextException
com.atlassian.sal.api.net.ResponseException
getJiraIssueDetails
@NotNull
JiraIssueDetails getJiraIssueDetails(@Nullable
Project bambooProject,
@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 required
com.atlassian.sal.api.net.ResponseException
CredentialsRequiredContextException
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.