public interface JiraRemoteIssueManager
Modifier and Type | Method and Description |
---|---|
@NotNull Result<com.atlassian.applinks.api.CredentialsRequiredException,List<JiraIssueDetails>> |
fetchIssueDetailsFromJira(@NotNull com.atlassian.applinks.api.ApplicationLink applicationLink,
@NotNull String jiraProjectKey,
@NotNull Set<String> jiraIssueKeys)
Fetch issue details from JIRA via XML Search.
|
@NotNull Iterable<com.atlassian.applinks.host.spi.EntityReference> |
fetchProjectInformationFromJira(@NotNull com.atlassian.applinks.api.ApplicationLink applicationLink)
Fetch project list from JIRA using REST service provided by applinks.
|
@Nullable com.atlassian.applinks.api.ApplicationLink |
getJiraApplicationLink(@NotNull String jiraProjectKey,
@Nullable Project project)
Retrieves the 'best' application link for a given JIRA project key.
|
@NotNull @NotNull Result<com.atlassian.applinks.api.CredentialsRequiredException,List<JiraIssueDetails>> fetchIssueDetailsFromJira(@NotNull @NotNull com.atlassian.applinks.api.ApplicationLink applicationLink, @NotNull @NotNull String jiraProjectKey, @NotNull @NotNull Set<String> jiraIssueKeys)
applicationLink
- identifies JIRA application to fetch issue details fromjiraProjectKey
- JIRA project key (all issue keys should be from this project)jiraIssueKeys
- keys of issues to be searched in JIRAJiraIssueDetails
objects representing JIRA issues or
CredentialsRequiredException when authentication is required in order to establish connection with JIRA@NotNull @NotNull Iterable<com.atlassian.applinks.host.spi.EntityReference> fetchProjectInformationFromJira(@NotNull @NotNull com.atlassian.applinks.api.ApplicationLink applicationLink) throws CredentialsRequiredContextException, com.atlassian.sal.api.net.ResponseException
applicationLink
- identifies JIRA application to fetch project list fromEntityReference
objects representing JIRA projectscom.atlassian.applinks.api.CredentialsRequiredException
- when authentication is required in order to establish connection with JIRACredentialsRequiredContextException
com.atlassian.sal.api.net.ResponseException
@Nullable @Nullable com.atlassian.applinks.api.ApplicationLink getJiraApplicationLink(@NotNull @NotNull String jiraProjectKey, @Nullable @Nullable Project project) throws CredentialsRequiredContextException, com.atlassian.sal.api.net.ResponseException
jiraProjectKey
- the JIRA project key that has to be available in the returned application.project
- the project to check for entity links (optional)com.atlassian.applinks.api.CredentialsRequiredException
- when credentials are required to access remote JIRA instanceCredentialsRequiredContextException
com.atlassian.sal.api.net.ResponseException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.