public interface

JiraBaseUrls

com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls
Known Indirect Subclasses

Class Overview

A simple component for getting the base url of the app

Summary

Public Methods
String baseUrl()
String restApi2BaseUrl()

Public Methods

public String baseUrl ()

Returns
  • The canonical base URL for this instance. It will return an absolute URL (eg. "http://example.com/jira/").

public String restApi2BaseUrl ()

Returns
  • The canonical base URL for the /rest/api/2/ endpoint. It will return an absolute URL (eg. "http://example.com/jira/rest/api/2/").