com.atlassian.bamboo.jira.jiraissues
Class JiraIssueManagerImpl
java.lang.Object
com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl
- All Implemented Interfaces:
- JiraIssueManager
public class JiraIssueManagerImpl
- extends java.lang.Object
- implements JiraIssueManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraIssueManagerImpl
public JiraIssueManagerImpl(JiraApplinksService jiraApplinksService,
JiraIssueDetailsBuilderFactory jiraIssueDetailsBuilderFactory,
JiraRemoteIssueManager jiraRemoteIssueManager)
getJiraIssueDetails
@NotNull
public java.lang.Iterable<LinkedJiraIssue> getJiraIssueDetails(@NotNull
Project bambooProject,
@NotNull
java.lang.Iterable<LinkedJiraIssue> linkedJiraIssues)
throws CredentialsRequiredContextException,
com.atlassian.sal.api.net.ResponseException
- Description copied from interface:
JiraIssueManager
- Get issue details from JIRA via XML Search.
- Specified by:
getJiraIssueDetails
in interface JiraIssueManager
- Parameters:
bambooProject
- Bamboo project for which the search is executedlinkedJiraIssues
- JIRA issues to be completed with data fetched from JIRA
- Returns:
Iterable
of JiraIssueDetails
objects representing JIRA issues.
- Throws:
CredentialsRequiredContextException
- In case applicationLink requires authentication in order to establish connection with JIRA
com.atlassian.sal.api.net.ResponseException
getJiraIssueDetails
@NotNull
public JiraIssueDetails getJiraIssueDetails(@NotNull
Project bambooProject,
@NotNull
java.lang.String issueKey)
throws CredentialsRequiredContextException,
com.atlassian.sal.api.net.ResponseException
- Description copied from interface:
JiraIssueManager
- Get issue details for a single issue.
- Specified by:
getJiraIssueDetails
in interface JiraIssueManager
- 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
createJiraIssueDetails
@NotNull
protected java.util.Map<java.lang.String,JiraIssueDetails> createJiraIssueDetails(@NotNull
Project bambooProject,
@NotNull
java.util.Set<java.lang.String> issueKeys)
throws CredentialsRequiredContextException,
com.atlassian.sal.api.net.ResponseException
- Create JiraIssueDetails for
- Parameters:
bambooProject
- Bamboo projectissueKeys
- Set of JIRA issue keys (it is not an Iterable since we perform a non-direct transformation)
- Returns:
- Mapping of JIRA issue key to
JiraIssueDetails
object
- Throws:
com.atlassian.applinks.api.CredentialsRequiredException
- when remote JIRA operation requires authentication
CredentialsRequiredContextException
com.atlassian.sal.api.net.ResponseException
Copyright © 2012 Atlassian. All Rights Reserved.