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

How to make a REST request from own plugin to the same server?

I need to make a REST call in Confluence to another plugin. I need to do it in context as an admin, but the code shouldn't contain the clear password. Is there any way to do this?

My workaround is to save the password in pluginSettings from a console and read it in my plugin. But for maintenance this is terrible.

Best regards,

1 answer

0 votes

Hi @Benjamin Krüger , 

why you don't want to do via js script from your plugin?  

Because that script will do execution with user cookies.



Gonchik Tsymzhitov

Suggest an answer

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

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

180 views 3 8
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