Interface JiraBaseUrls
- All Known Implementing Classes:
JiraBaseUrlsImpl
A simple component for getting the base url of the app
- Since:
- v5.0
-
Method Summary
-
Method Details
-
baseUrl
String baseUrl()- Returns:
- The canonical base URL for this instance. It will return an absolute URL without trailing "/" character (eg. "http://example.com/jira").
If
APKeys.JIRA_SELF_URL_ORIGIN_TYPE
is set toSelfUrlOriginType.BASEURL
, then base url is taken fromAPKeys.JIRA_BASEURL
. Host from request is taken otherwise.
-
restApi2BaseUrl
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/").
-