Hello *,
I have a gadget that works fine with hardcoded Base URL variable but fails with:
var gadget = AJS.Gadget({
baseUrl: "__ATLASSIAN_BASE_URL__",
useOauth: "/rest/gadget/1.0/currentUser",
(Reference)
The error I see in logs is:
HTTP Status 400 - Invalid request url scheme in url: __ATLASSIAN_BASE_URL__/rest/gadget/1.0/statTypes; only "http" and "https" supported.
Base URL variable in System section is set. Jira is accessible via https://<jira-server>.com and http://jira:8080 as well.
Any assistance is highly appreciated.