Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Import a text file with Atlassian CLI

Stefan Eike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2013

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

1 vote
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2013

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.

Stefan Eike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2013

Thank you very much!

Stefan Eike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2013

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?

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2013

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...

Stefan Eike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events