Package com.atlassian.jira.project
Interface RemoteProjectService
- All Known Implementing Classes:
RemoteProjectServiceImpl
@ExperimentalApi
public interface RemoteProjectService
Offers access to projects in remote JIRA servers based on App Links.
This service is marked as experimental because it is still being actively developed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionFinds all the projects that the currently logged in user can see in all the linked JIRA instances.getRemoteProject(com.atlassian.applinks.api.ApplicationLink applicationLink, String key)
-
Method Details
-
getRemoteProject
RemoteProject getRemoteProject(com.atlassian.applinks.api.ApplicationLink applicationLink, String key) throws com.atlassian.applinks.api.CredentialsRequiredException, com.atlassian.sal.api.net.ResponseException - Throws:
com.atlassian.applinks.api.CredentialsRequiredExceptioncom.atlassian.sal.api.net.ResponseException
-
findAllRemoteProjects
RemoteProjectService.RemoteProjectsResult findAllRemoteProjects()Finds all the projects that the currently logged in user can see in all the linked JIRA instances.- Returns:
- RemoteProjectsResult object that contains the projects found as well as extra information about servers that we couldn't reach.
-