Import a text file with Atlassian CLI


I'd like to import some files from some Git repositories. The content of the files should be added to (different) Confluence pages. I do not want to attach the files to the Confluence pages, I want to important the content to the page directly to use the search function and to have the content displayed on the page.

Thank you very much for answering!

Best regards


1 answer

1 accepted

Use storePage from the ACLI/Confluence CLI with the file parameter pointing to your readme file. You can add some before and after content as well if you need.

Thank you very much!

Do I need both plugins?

Or does Atlassian Command Line Interface include the second one?

This is a combined distribution including all product specific CLI tools.

Do I need the Run Plugin for Confluence as well to execute queries from a Confluence page?

Atlassian Command Line Interface (which includes the Confluence CLI) are client programs (runs on PC) - no plugins on your server are required to run from a client. The CLI plugin for Confluence provide additional capabilities to run ACLI actions from within Confluence. Atlassian CLI license requires purchase (but not install) of a plugin.

From your original request, it sounded like you just need a client to populate your Confluence with the pages. If you have additional requirements the plugin may be useful. Same goes for the Run plugin - it is useful if you need a user dialog for someone to interact with in order to create a page, etc...

Thank you very much for the detailled explanation! Now I'm asking for money.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you