This article explains how to create a Confluence page and add a Jira version simultaneously when both the apps are available on Cloud using Command Line Interface (CLI) .
Instructions
- With ACLI version 9.0, you can add the version to a Jira project and create a page in Confluence simultaneously using Command Line Interface (CLI).
- The acli.properties file should contain both confluence and Jira applications URLs.
- Create a text file(cmd1.txt) and add the below actions in your file.
--action addVersion --project "CREAT" --name "V2" --action addPage --space "tabletest" --title "This is title 0" --content "This is a test page” --parent "Home"
To execute the file, from the terminal run the below-given action
./acli.sh myjira myconfluence --action run --file "/Users/Reshma/Documents/cmd1.txt"
It is necessary to have both the Jira and Confluence CLI apps in your respective cloud instances.