Import a text file with Atlassian CLI

Hi,

I'd like to import some readme.md files from some Git repositories. The content of the readme.md 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

Stefan

1 answer

1 accepted

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

57 views 8 4
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