This article explains how to create a Confluence page and add a Jira version simultaneously when both the apps are available on Cloud.
Instructions
- With ACLI version 9.0, you can add the version to a Jira project and create a page in Confluence simultaneously using CLI.
- In the acli.properties file put the URLs of both applications and comment on the Default.
- 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.