Interface JiraIssueManager

  • All Known Implementing Classes:
    JiraIssueManagerImpl

    @ExperimentalApi
    public interface JiraIssueManager
    • 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 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
        @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 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