com.atlassian.bamboo.jira.jiraissues
Interface JiraIssueManager

All Known Implementing Classes:
JiraIssueManagerImpl

public interface JiraIssueManager


Method Summary
<T extends InternalLinkedJiraIssue>
java.lang.Iterable<T>
getJiraIssueDetails(Project bambooProject, java.lang.Iterable<T> 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
<T extends InternalLinkedJiraIssue> java.lang.Iterable<T> getJiraIssueDetails(@Nullable
                                                                                      Project bambooProject,
                                                                                      @NotNull
                                                                                      java.lang.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 executed
linkedJiraIssues - 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
com.atlassian.sal.api.net.ResponseException

getJiraIssueDetails

@NotNull
JiraIssueDetails getJiraIssueDetails(@Nullable
                                             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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.