Atlassian CLI Examples - 7.4.0

Related information for 7.4.0

Examples

 

Command

 

Command

1

 

--action bamboo --bambooServer "https://bamboo.examplegear.com" --parameters "--action getServerInfo --user automation --password automation"

 

2

 

--action bamboo --parameters "--action getServerInfo --server https://bamboo.examplegear.com --user automation --password automation"

 

3

 

--action bitbucket --bitbucketServer "https://bitbucket.examplegear.com" --parameters "--action getServerInfo --user automation --password automation"

 

4

 

--action bitbucket --parameters "--action getServerInfo --server https://bitbucket.examplegear.com --user automation --password automation"

 

5

 

--action confluence --confluenceServer "https://confluence.examplegear.com" --parameters "--action getServerInfo --user automation --password automation"

 

6

 

--action confluence --parameters "--action getServerInfo --server https://confluence.examplegear.com --user automation --password automation"

 

7

 

--action hipchat --hipchatServer "https://hipchat.examplegear.com" --parameters "--action getServerInfo --token Kg8hUHjhthhhOMpfmtIgOrpNd0urzZMZSMcM1lyB"

 

8

 

--action hipchat --parameters "--action getServerInfo --server https://hipchat.examplegear.com --token Kg8hUHjhthhhOMpfmtIgOrpNd0urzZMZSMcM1lyB"

 

9

 

--action jira --jiraServer "https://jira.examplegear.com" --parameters "--action getServerInfo --user automation --password automation"

 

10

 

--action jira --parameters "--action getServerInfo --server https://jira.examplegear.com --user automation --password automation"

 

11

 

--action run

 

12

 

--action run --debug --common "--password PASSWORD"

 

13

 

--action run --file "src/itest/resources/runall2.txt" --common "--password automation" --findReplace "##server-jira##:'https://jira.examplegear.com',##server-confluence##:'https://confluence.examplegear.com',##server-bamboo##:'https://bamboo.examplegear.com',##server-bitbucket##:'https://bitbucket.examplegear.com',##server-servicedesk##:'https://jira.examplegear.com',##server-upm##:'null'"

 

14

 

--action run --file "src/itest/resources/runallshort.txt" --common "--password automation" --findReplace "##server-jira##:'https://jira.examplegear.com',##server-confluence##:'https://confluence.examplegear.com',##server-bamboo##:'https://bamboo.examplegear.com',##server-bitbucket##:'https://bitbucket.examplegear.com',##server-servicedesk##:'https://jira.examplegear.com',##server-upm##:'null'"

 

15

 

--action run --file "src/itest/resources/runallshort.txt" --user "automation" --password "automation" --findReplace "##server-jira##:'https://jira.examplegear.com',##server-confluence##:'https://confluence.examplegear.com',##server-bamboo##:'https://bamboo.examplegear.com',##server-bitbucket##:'https://bitbucket.examplegear.com',##server-servicedesk##:'https://jira.examplegear.com',##server-upm##:'null'"

 

16

 

--action run --file "src/itest/resources/runall.txt" --findReplace "##password##:automation,##server-jira##:'https://jira.examplegear.com',##server-confluence##:'https://confluence.examplegear.com',##server-bamboo##:'https://bamboo.examplegear.com',##server-bitbucket##:'https://bitbucket.examplegear.com',##server-hipchat##:'https://hipchat.examplegear.com',##server-servicedesk##:'https://jira.examplegear.com',##server-upm##:'null'"

 

17

 

--action run --file "src/itest/resources/runreplacemapshort.txt" --common "--password automation" --findReplace "##server##:'https://confluence.examplegear.com',##space##:Experiment,##title##:runReplaceMapShort"

 

18

 

--action run --file "src/itest/resources/runreplacemap.txt" --common "--password automation" --findReplace "##server##:'https://confluence.examplegear.com',##space##:Experiment,##title##:runReplaceMap"

 

19

 

--action run --file "src/itest/resources/run.txt"

 

20

 

--action run --file "src/itest/resources/runWithFindReplace.txt" --findReplace "##action##:getClientInfo,##parameters##:--server xxx --password PASSWORD"

 

21

 

--action runFromList --jiraServer "https://jira.examplegear.com" --user "automation" --password "automation" --list "a" --common "jira --action getServerInfo"

 

22

 

--action runFromSql --sql "select 'bitbucket' as action, '-a getClientInfo --password PASSWORD --server xxx' as parameters" --host "localhost" --port "5433" --driver "postgresql" --database "test" --dbUser "automation" --dbPassword "automation"

 

23

 

--action run --jiraServer "https://jira.examplegear.com" --confluenceServer "https://confluence.examplegear.com" --user "automation" --password "automation"

 

24

 

--action servicedesk --parameters "--action getServerInfo --server https://jira.examplegear.com --user automation --password automation"

 

25

 

--action servicedesk --servicedeskServer "https://jira.examplegear.com" --parameters "--action getServerInfo --user automation --password automation"

 

 

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.