...
With Atlassian Command Line Interface 9v9.0 version, we can add a page in confluenceConfluence and the version of the Jira project simultaneously.
- Make sure that the acli.properties file in the CLI client folder is filled with server details of both Jira and confluence Confluence applications.
Please refer to the CLI Client Installation and Use for the installation guide. - Comment out the Default default application in the acli.properties file as we are going to perform actions in Jira and Confluence simultaneously.
- Please see below Here is a sample properties file for your reference.:
Create a text file (say Ex: cmd1.txt) and add the actions addVersion and addPage to addPage to add a version in Jira and create a page in Confluence into the file as below. Here is an example:
Code Block theme Midnight --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:
Code Block theme Midnight myjira myconfluence --action run --file "cmd1.txt"
...