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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.