com.atlassian.bamboo.jira.jiraissues
Interface JiraIssueManager

All Known Implementing Classes:
JiraIssueManagerImpl

public interface JiraIssueManager


Method Summary
 java.lang.Iterable<LinkedJiraIssue> getJiraIssueDetails(Project bambooProject, java.lang.Iterable<LinkedJiraIssue> linkedJiraIssues)
          Get issue details from JIRA via XML Search.
 JiraIssueDetails getJiraIssueDetails(Project bambooProject, java.lang.String issueKey)
          Get issue details for a single issue.
 

Method Detail

getJiraIssueDetails

@NotNull
java.lang.Iterable<LinkedJiraIssue> getJiraIssueDetails(@NotNull
                                                                Project bambooProject,
                                                                @NotNull
                                                                java.lang.Iterable<LinkedJiraIssue> 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 executed
linkedJiraIssues - 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
JiraIssueDetails getJiraIssueDetails(@NotNull
                                             Project bambooProject,
                                             @NotNull
                                             java.lang.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 executed
issueKey - 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


Copyright © 2012 Atlassian. All Rights Reserved.