|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraRemoteIssueManager
Interface for interacting with the JIRA Server
Method Summary | |
---|---|
Result<com.atlassian.applinks.api.CredentialsRequiredException,List<JiraIssueDetails>> |
fetchIssueDetailsFromJira(com.atlassian.applinks.api.ApplicationLink applicationLink,
String jiraProjectKey,
Set<String> jiraIssueKeys)
Fetch issue details from JIRA via XML Search. |
Iterable<com.atlassian.applinks.host.spi.EntityReference> |
fetchProjectInformationFromJira(com.atlassian.applinks.api.ApplicationLink applicationLink)
Fetch project list from JIRA using REST service provided by applinks. |
com.atlassian.applinks.api.ApplicationLink |
getJiraApplicationLink(String jiraProjectKey,
Project project)
Retrieves the 'best' application link for a given JIRA project key. |
Method Detail |
---|
@NotNull Result<com.atlassian.applinks.api.CredentialsRequiredException,List<JiraIssueDetails>> fetchIssueDetailsFromJira(@NotNull com.atlassian.applinks.api.ApplicationLink applicationLink, @NotNull String jiraProjectKey, @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 JIRA
JiraIssueDetails
objects representing JIRA issues or
CredentialsRequiredException when authentication is required in order to establish connection with JIRA@NotNull Iterable<com.atlassian.applinks.host.spi.EntityReference> fetchProjectInformationFromJira(@NotNull com.atlassian.applinks.api.ApplicationLink applicationLink) throws CredentialsRequiredContextException, com.atlassian.sal.api.net.ResponseException
applicationLink
- identifies JIRA application to fetch project list from
EntityReference
objects representing JIRA projects
com.atlassian.applinks.api.CredentialsRequiredException
- when authentication is required in order to establish connection with JIRA
CredentialsRequiredContextException
com.atlassian.sal.api.net.ResponseException
@Nullable com.atlassian.applinks.api.ApplicationLink getJiraApplicationLink(@NotNull String jiraProjectKey, @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 instance
CredentialsRequiredContextException
com.atlassian.sal.api.net.ResponseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |