Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Use existing app link with Oauth (impersonation) inside Confluence SIL script with REST API call to

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:

//Create requestHttpRequest request;HttpHeader authHeader = httpBasicAuthHeader("admin", "admin");request.headers += authHeader; //Post data and get responseserverInfo si = httpGet("http://localhost:8080/rest/api/2/serverInfo?doHealthCheck=false", request);return si.baseUrl;


1 answer

1 accepted

0 votes
Answer accepted
Fabian Lim Community Leader Jan 12, 2022

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

38,867 views 28 126
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you