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, we can add the version to a Jira project and create a page in Confluence simultaneously using Command Line Interface (CLI).
- Include both Confluence and Jira application URLs in the properties file.
Create a text file(cmd1.txt) with actions addVersion and addPage to add a version in Jira and create a page in Confluence as below
--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
myjira myconfluence --action run --file "cmd1.txt"
It is necessary to have both the Jira and Confluence CLI apps in your respective cloud instances.