Summary
This assumes you are using atlassian-cli distribution which is the only one available for current releases of the CLI. The atlassian script is a more powerful script to use in place of product specific scripts (like jira.sh and confluence.sh) and provides a consistent way to access multiple CLIs and servers.
This is a Best Practice for any advanced use cases.
Customization Steps
Step | Description | |
---|---|---|
1 | Find the example script |
|
2 | Open in an editor |
|
3 | Add an entry for each Atlassian server or CLI you want to use |
|
4 | Optional
|
|
5 | Optional for Linux or OSX |
Best Practice This is what we follow internally to minimize maintenance for upgrades:
Alternative
|
6 | Use | Examples atlassian my-jira --action getServerInfo atlassian my-confluence --action getServerInfo atlassian my-bamboo --action getServerInfo atlassian my-stash --action getServerInfo |