Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to push attachments to my page in confluence

Hi Team,


I have got some links for this task but eveywhere it refers to localhost:8080/confluence as base url which means may be that is there local installation. Fro some POC purpose I am using cloud confluence to try this script. What exactly URL is hould use. I can access my home page of confluence with this link

please help me in tune the script and achieve the task


Thank you

3 answers

Hi All.. got another issue with viewing the attachments in the page. I can see them in attachments section but i want them in page as preview. I am getting now as preview unavailable/unable to load

Could you please help me with this?

NOTE: I have just followed the  links  script blindly. I can see in script the logic has file/image. There may be something that i need ti tweak to see all types of images. Could you please help me with the changes I need to do in script?

0 votes

Hi @ramesh kumar ,

welcome to the Atlassian community!
Your confluence cloud base URL is

Here an useful link

Hope this helps,


0 votes

Welcome to the Atlassian Community!

The base URL of a Cloud Confluence is 

Thank you so much @Nic Brough _Adaptavist_ I got the first step passed with the given url. 

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

572 views 0 13
Read article

Atlassian Community Events