Class RemoteJiraClient
java.lang.Object
com.atlassian.jira.plugin.link.remotejira.rest.resource.RemoteJiraClient
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteJiraClient(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, RemoteJiraRestService remoteJiraRestService) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.applinks.api.ApplicationLinkgetJiraAppLink(String appId) booleanisJiraCloudAppLink(String appId) Checks if the given ApplicationLink is to a Jira Cloud application.
-
Constructor Details
-
RemoteJiraClient
public RemoteJiraClient(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, RemoteJiraRestService remoteJiraRestService)
-
-
Method Details
-
isJiraCloudAppLink
Checks if the given ApplicationLink is to a Jira Cloud application.This is done by checking the
ApplicationLinkProperties.Property.CLOUDproperty, with a fallback to a remote REST API call if the property is not set. -
getJiraAppLink
-