We have Power Scripts for Confluence (SIL scripts) installed on our Confluence server. Confluence is linked to Jira with application link with Oauth impersonation.
Is is possible to use this link as authentication instead of basic authentication as explained in your example:
https://confluence.cprime.io/display/SIL/httpGet
//Create request
HttpRequest request;
HttpHeader authHeader = httpBasicAuthHeader("admin", "admin");
request.headers += authHeader;
//Post data and get response
serverInfo si = httpGet("http://localhost:8080/rest/api/2/serverInfo?doHealthCheck=false", request);
return si.baseUrl;
Hi Bostjan,
If you are still experiencing issues, I recommend you contact their support team for a faster response. They are great at resolving scripting issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.