Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

addAccessToken

--action addAccessToken --name "ztokens" --permission "PROJECT_ADMIN, REPO_ADMIN"
--action addAccessToken --userId "admin" --name "ztokens" --permission "PROJECT_READ, REPO_READ" --user "admin" --password "***"

addBranch

--action addBranch --project "zcli" --repository "zcli-repo" --branch "add1" --id "16abd2e399118dd3fe5945987c0cdbcd7e7150596f9035fa7783e12bcb65c95b2a2b6d1d8fad1287" --message "addBranch action"
--action addBranch --project "zcli" --repository "zcli-repo" --branch "forRemove" --id "16abd2e399118dd3fe5945987c0cdbcd7e7150596f9035fa7783e12bcb65c95b2a2b6d1d8fad1287"

addBranchRestriction

--action addBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --branch "feature1" --group "group1"
--action addBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --replace --branch "feature1" --group "group1, group2" --userId "user1,user3"
--action addBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --restriction "PULL-REQUEST-ONLY" --branch "master*" --matchingType "pattern" --group "group1"
--action addBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --restriction "no-deletes" --branch "HOTFIX" --matchingType "MODEL" --group "group1"
--action addBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --restriction "no-deletes" --branch "feature1" --group "group1"

addGroup

--action addGroup --group "testgroup1" --preserveCase
--action addGroup --group "testgroup2" --preserveCase
addSshKey

addReviewCondition

--action addSshKey addReviewCondition --project "ZCLI" --userId repository "testuser1zconditions" --file "./src/itest/bitbucket/resources/sshkey.rsa.pub"
--action addSshKey --userId "testuser2" --file "-"

addUser

--action addUser --userId "automation" --userEmail "testuser@x.com1reviewers "user1,user2" --reviewApprovalCount 2 --matchingType "pattern" --from "dev.*" --toMatchingType "branch" --to "master"
--action addUser addReviewCondition --userId project "testuser1ZCLI" --userFullName "Test User1" --userEmail "testuser@x.com1reviewers "user1,user2"
--action addReviewCondition --project "ZCLI" --userPassword "***"reviewers "user1,user2" --reviewApprovalCount 2

addSshKey

--action addUser addSshKey --userId "testuser2testuser1" --userFullName "Test User2" --userEmail "testuser@x.com2" --userPassword "***"file "./src/itest/bitbucket/resources/sshkey.rsa.pub"
--action addSshKey --userId "testuser2" --file "-"

addUser

--action addUser --userId "testuser3automation" --userFullName "Test User3userEmail "testuser@x.com1"
--action addUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser@x.com3com1" --userPassword "***"
addUserToGroup
--action addUserToGroup addUser --userId "testuser3testuser2" --userFullName "Test User2" --group userEmail "testgroup2testuser@x.com2" --autoGroup
addWebhook
userPassword "***"
--action addWebhook addUser --project userId "ZCLItestuser3" --repository "zcli-repouserFullName "Test User3" --name userEmail "zwebhooks1testuser@x.com3" --url "https://examplegear.com/acliuserPassword "***"

addUserToGroup

--action addUserToGroup --userId "testuser3" --events "repo:comment:added,repo:refs_changed"group "testgroup2" --autoGroup

addWebhook

--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1zpostwebhooks1" --url "https://examplegear.com/acli" --events "repo:comment:added,repo:refs_changedprCommented,prUpdated" --field "skipCI=false" --options field "secretbranchesToIgnore=abcdefghixxx" --options postWebhooks
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks2zpostwebhooks1" --events url "repo:comment:added,repo:refs_changed" --url "https:/https://examplegear.com/acli" --options events "disableprCommented,prUpdated" --options "secret=abcdefghi" --options postWebhooks

createProject

--action createProject addWebhook --project "zcliZCLI" --name repository "zcli name-repo" --description name "zcli descriptionzpostwebhooks1" --action createProject url "https://examplegear.com/acli" --project events "zcli2prCommented,prUpdated" --publicoptions postWebhooks

createPullRequest

--action createPullRequest addWebhook --project "zcliZCLI" --repository "zcli-repo" --name "pr1zpostwebhooks2" --from "zfeature1events "prCommented,prUpdated" --url "https://examplegear.com/acli" --options "disable" --to options "master"secret=" --options postWebhooks
--action createPullRequest addWebhook --project "zcliZCLI" --repository "zcli-repo" --name "pr2zwebhooks1" --description "pr2 descriptionurl "https://examplegear.com/acli" --from "zfeature2" --to "masterevents "repo:comment:added,repo:refs_changed"
--action addWebhook --project "ZCLI" --reviewers "user1,user2,user3"

createRepository

--action createRepository --project "zcli" --repository "zcli-repo" --name "zcli-reporepository "zcli-repo" --name "zwebhooks1" --url "https://examplegear.com/acli" --events "repo:comment:added,repo:refs_changed" --options "secret=abcdefghi"
--action createRepository addWebhook --project "zcliZCLI" --repository "zcli2zcli-repo" --public --forkable

declinePullRequest

--action declinePullRequest --project "zcliname "zwebhooks2" --repository events "zcli-repo" --pullRequest "pr1"

getAccessTokenList

--action getAccessTokenListrepo:comment:added,repo:refs_changed" --url "https://examplegear.com/acli" --options "disable" --options "secret=abcdefghi"

createProject

--action getAccessTokenList createProject --regex project "ztokenszcli" --action getAccessTokenList name "zcli name" --userId description "adminzcli description"

getApp

--action getApp createProject --app project "@defaultzcli2"

getApplicationLinkList

--action getApplicationLinkListpublic
getBranch

createPullRequest

--action getBranch createPullRequest --project "zcli" --repository "zcli-repo"

getBranchList

--action getBranchList name "pr1" --project from "zclizfeature1" --repository to "zcli-repomaster"

getBranchRestriction

--action getBranchRestriction createPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --id name "1284pr2"

getBranchRestrictionList

--action getBranchRestrictionList description "pr2 description" --project from "zrestrictionszfeature2" --repository to "master" zrestrictions-repo--reviewers "user1,user2,user3"

createRepository

--action getBranchRestrictionList createRepository --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --matchingType name "branchzcli-repo"
--action getBranchRestrictionList createRepository --project "zrestrictionszcli" --repository "zrestrictionszcli2-repo" --regex "(no-deletes)|(read-only)"
getBuildStatusList
public --forkable

declinePullRequest

--action getBuildStatusList declinePullRequest --id project "a6ef0e4a1747864a5cc8d4996db0b39d8a6c5af9zcli" --dateFormat repository "yyyy-MM-dd HH:mm:ss"

getClientInfo

--action getClientInfo
getCommitList
zcli-repo" --pullRequest "pr1"

disableHook

--action getCommitList disableHook --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --from "a6ef0e4a1747864a5cc8d4996db0b39d8a6c5af9" --to "c4b4d3f5ebcd59055611163f64e657cdc756ad67"
--action getCommitList --project "ZCLIhook "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook"

getAccessTokenList

--action getAccessTokenList
--action getAccessTokenList --regex "ztokens"
--action getAccessTokenList --userId "admin"

getApp

--action getApp --app "@default"

getApplicationLinkList

--action getApplicationLinkList

getBranch

--action getBranch --project "zcli" --repository "zcli-repo"

getBranchList

--from "masteraction getBranchList --project "zcli" --to repository "masterzcli-repo"

getBranchRestriction

--action getCommitList getBranchRestriction --project "ZCLIzrestrictions" --repository "zclizrestrictions-repo" --startDate "2021-04-01 21:58:38" --dateFormat "yyyy-MM-dd HH:mm:ss"id "99"

getBranchRestrictionList

--action getCommitList getBranchRestrictionList --project "ZCLIzrestrictions" --repository "zclizrestrictions-repo"
--startDate "2021action getBranchRestrictionList -04-01 21:58:38-project "zrestrictions" --endDate repository "2021-04-01 21:58:38zrestrictions-repo" --dateFormat "yyyy-MM-dd HH:mm:ssmatchingType "branch"
--action getCommitList getBranchRestrictionList --project "ZCLIzrestrictions" --repository "zclizrestrictions-repo" --regex "(no-deletes)|(read-only)"

getBuildStatusList

--userId "automationaction getBuildStatusList --id "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb" --dateFormat "yyyy-MM-dd HH:mm:ss"

getClientInfo

--action getClientInfo

getCommitList

--action getCommitList --project "zcliZCLI" --repository "zcli-repo"

getGroupList

--action getGroupList

getHook

--dateFormat "yyyy-MM-dd HH:mm:ss"
--action getHook getCommitList --project "ZCLI" --repository "zcli-repo" --from "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb" --hook to "Reject Force Push3ba3b4d15d86d6346e6d56789c9a834dcf9dff16"

getHookList

--action getHookList getCommitList --project "ZCLI" --repository "zcli-repo" --action getHookList from "master" --to "master"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --regex "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --outputFormat 2

getPermissionList

--action getPermissionList
--action getPermissionList --regex "testuser1"

getProject

--action getProject --project "1215"
--action getProject --project "zcli name"
--action getProject --project "zcli"
--action getProject --project "zcli2"

getProjectList

--action getProjectList
--action getProjectList --permission "PROJECT_ADMIN"
--action getProjectList --permission "PROJECT_VIEW"
--action getProjectList --regex "ZCLI"
--action getProjectList --token "***"

getProjectPermissionList

--action getProjectPermissionList --project "zcli"
--action getProjectPermissionList --project "zcli" --regex "user1"

getPullRequest

--action getPullRequest --project "zcli" --repository "zcli-repo" --pullRequest "2"
--action getPullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2xxx" --dateFormat "yyyy-MM-dd HH:mm:ss"

getPullRequestList

--action getPullRequestList --project "zclistartDate "2021-05-05 17:58:26" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --startDate "2021-05-05 17:58:26" --endDate "2021-05-05 17:58:26" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --userId "automation" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getCommitList --project "zcli" --repository "zcli-repo"

getFileList

--action getFileList --project "Experiment" --repository "acli" --outputType "text" --columns "-1,2,3" --descendents --options "tableNoWrap"
--action getFileList --project "Experiment" --repository "acli" --outputType "text" --options "tableNoWrap"
--action getFileList --project "Experiment" --repository "acli" --path "license" --outputType "text" --options "tableNoWrap"
--action getFileList --project "Experiment" --repository "acli" --regex "src/main/java/.*" --descendents --outputType "text" --options "tableNoWrap"

getGroupList

--action getGroupList

getHook

--action getHook --project "ZCLI" --hook "Reject Force Push"
--action getHook --project "ZCLI" --hook "com.isroot.stash.plugin.yacc:yaccHook"
--action getHook --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:sshook "Reject Force Push"
--action getPullRequestList getHook --project "zcliZCLI" --repository "zcli-repo" --direction "INCOMING" --dateFormat "yyyy-MM-dd HH:mm:sshook "com.isroot.stash.plugin.yacc:yaccHook"

getHookList

--action getHookList --project "ZCLI"
--action getPullRequestList getHookList --project "zcliZCLI" --repository "zcli-repo" --direction "outgoing" --dateFormat "yyyy-MM-dd HH:mm:ss" --verbose
--action getPullRequestList getHookList --project "zcliZCLI" --repository "zcli-repo" --regex "NOT_FOUNDoutputFormat 999 --outputType "text" --dateFormat "yyyy-MM-dd HH:mm:sscolumns "-project,repository,name,description" --options "tableNoWrap"
--action getPullRequestList getHookList --project "zcliZCLI" --repository "zcli-repo" --regex "pr2" --dateFormat "yyyy-MM-dd HH:mm:ss"com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook"

getPermissionList

--action getPullRequestList getPermissionList
--project "zcli" action getPermissionList --repository regex "zcli-repo" --state "ALL" --dateFormat "yyyy-MM-dd HH:mm:sstestuser1"

getProject

--action getProject --project "64"
--action getPullRequestList getProject --project "zcli name"
--repository action getProject --project "zcli-repo"
--state "MERGED" action getProject --dateFormat "yyyy-MM-dd HH:mm:ssproject "zcli2"
getRepository

getProjectList

--action getRepository getProjectList
--project "zcli" action getProjectList --repository permission "935PROJECT_ADMIN"
--action getRepository getProjectList --project permission "zcliPROJECT_VIEW"
--action getProjectList -repository "zcli-repo updated-regex "ZCLI"
--action getRepository getProjectList --project token "zcli" ***"

getProjectPermissionList

--repository action getProjectPermissionList --project "zcli-repo"
--action getRepository getProjectPermissionList --project "zcli" --repository regex "zcli2-repouser1"
getRepositoryList

getPullRequest

--action getRepositoryList getPullRequest --project "zcli" --action getRepositoryList --project repository "zcli-repo" --regex pullRequest "NOT_FOUND2"

getRepositoryPermissionList

--action getRepositoryPermissionList getPullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getRepositoryPermissionList getPullRequest --project "zcli" --repository "zcli-repo" --regex pullRequest "user1pr2xxx"

getServerInfo

--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm:ss"

getPullRequestList

--action getServerInfo getPullRequestList --outputFormat 999project "zcli" --action getServerInfo --user "anonymous"

getSshKeyList

--action getSshKeyList --userId "testuser1repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getSshKeyList getPullRequestList --userId project "testuser1zcli" --regex repository "xxx"

getUser

--action getUser zcli-repo" --direction "INCOMING" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getUser getPullRequestList --userId project "testuser1zcli" ---action getUser repository "zcli-repo" --userId direction "testuser3outgoing"

getUserList

--action getUserList --dateFormat "dateFormat "yyyy-MM-dd HH:mm:ss" --verbose
--action getUserList getPullRequestList --group project "testgroup2zcli" ---action getUserList repository "zcli-repo" --group regex "testgroup2NOT_FOUND" --regex "testuser3"
getWebhookList
dateFormat "yyyy-MM-dd HH:mm:ss"
--action getWebhookList getPullRequestList --project "ZCLIzcli" --repository "zcli-repo" --regex "pr2" --dateFormat "yyyy-mmMM-dd HH:mm:ss"

grantPermissions

--action grantPermissions getPullRequestList --permission project "ADMINzcli" --userId repository "testuser1zcli-repo" --action grantPermissions state "ALL" --permission "PROJECT_CREATE" --group "testgroup1"

grantProjectPermissions

dateFormat "yyyy-MM-dd HH:mm:ss"
--action grantProjectPermissions getPullRequestList --project "zcli" --permission "PROJECT_ADMIN" --userId "user1"--action grantProjectPermissions --project "zclirepository "zcli-repo" --state "MERGED" --permission "PROJECT_READ" --userId "user1,user2,user3"dateFormat "yyyy-MM-dd HH:mm:ss"

getRepository

--action grantProjectPermissions getRepository --project "zcli" --permission "PROJECT_WRITE" --group "group1repository "72"
--action grantProjectPermissions getRepository --project "zcli2zcli" --permission "PROJECT_ADMIN" --userId "user2"

grantRepositoryPermissions

repository "zcli-repo updated"
--action grantRepositoryPermissions getRepository --project "zcli" --repository "zcli-repo" --permission "REPO_ADMIN" --userId "user1"
--action grantRepositoryPermissions getRepository --project "zcli" --repository "zclizcli2-repo"

getRepositoryList

--permission "REPO_READ" action getRepositoryList --userId "user1,user2,user3project "zcli"
--action grantRepositoryPermissions getRepositoryList --project "zcli" --repository "zcli-repo" --permission "REPO_WRITE" --group "group1"
installApp
regex "NOT_FOUND"

getRepositoryPermissionList

--action installApp getRepositoryPermissionList --app project "@defaultzcli" --simulate

mergePullRequest

-repository "zcli-repo"
--action mergePullRequest getRepositoryPermissionList --project "zcli" --repository "zcli-repo" --pullRequest regex "pr2user1"
removeAccessToken

getReviewConditionList

--action removeAccessToken getReviewConditionList --userId project "adminZCLI" --name options "879965444616tableNoWrap"
removeBranch
--action removeBranch getReviewConditionList --project "zcliZCLI" --repository outputType "zcli-repotext" --branch options "forRemovetableNoWrap"

removeBranchRestriction

--action removeBranchRestriction getReviewConditionList --project "zrestrictionsZCLI" --repository "zrestrictions-repozconditions" --branch outputType "master*text" --matchingType options "PATTERNtableNoWrap"

getServerInfo

--continueaction getServerInfo --action removeBranchRestriction outputFormat 2 --project dateFormat "zrestrictions" yyyy-MM-repository "zrestrictions-repo" --branch "master*" --matchingType "PATTERN" --restriction "@all" --continuedd HH:mm"
--action getServerInfo --outputFormat 999
--action getServerInfo --user "anonymous"

getSource

--action removeBranchRestriction getSource --project "zrestrictionsExperiment" --repository "zrestrictions-repoacli" --id "123456789" --continue--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --id "1284"path "license/LICENSE.txt"

getSshKeyList

--action getSshKeyList --userId "testuser1"
--action removeBranchRestriction getSshKeyList --project userId "zrestrictionstestuser1" --repository regex "zrestrictions-repo" --restriction "pull-request-only" --branch "master*" --matchingType "PATTERN"

removeSshKey

--action removeSshKey --id "472"

removeSshKeys

--action removeSshKeys --userId "testuser1"
--action removeSshKeys --userId "testuser2"

removeUserFromGroup

--action removeUserFromGroup --userId "testuser3" --group "testgroup2"

removeWebhook

--action removeWebhook xxx"

getUser

--action getUser --dateFormat "yyyy-MM-dd"
--action getUser --userId "testuser1"
--action getUser --userId "testuser3"

getUserList

--action getUserList --dateFormat "yyyy-MM-dd"
--action getUserList --group "testgroup2"
--action getUserList --group "testgroup2" --regex "testuser3"

getWebhookList

--action getWebhookList --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1dateFormat "yyyy-mm-dd"

revokePermissions

--action revokePermissions getWebhookList --userId project "testuser1ZCLI"

revokeProjectPermissions

--action revokeProjectPermissions --project repository "zcli-repo" --userId "user1"
revokeRepositoryPermissions
dateFormat "yyyy-mm-dd" --options postWebhooks

grantPermissions

--action run -i "-a getApp --app @default"
--action revokeRepositoryPermissions grantPermissions --project "zcli" --repository "zcli-repo" --userId "user1"

run

--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType textpermission "ADMIN" --userId "testuser1"
--action grantPermissions --permission "PROJECT_CREATE" --group "testgroup1"

grantProjectPermissions

--action grantProjectPermissions --project "zcli" --permission "PROJECT_ADMIN" --userId "user1"
--action run grantProjectPermissions --common "--project ZCLI --repository zcli-repoproject "zcli" --input "-a enableHook permission "PROJECT_READ" --hook \"Verify Committer\"" --input "-a getHook --hook \"Verify Committer\"" --input "-a disableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --input "-a getHook --hook \"Verify Committer\""
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction fast-forward-only --group group1,group2 --userId user1,user2 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1 --options remove" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group2 --userId user2 --options remove" --input "-a getBranchRestriction --id @restrictionId@"
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction no-deletes --group group2 --userId user1,user2 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group \"\" --userId \"\" --replace" --input "-a getBranchRestriction --id @restrictionId@"
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction pull-request-only --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1,group2" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --userId user1,user2" --input "-a getBranchRestriction --id @restrictionId@"
--action run --file "./src/itest/bitbucket/resources/run.txt"
--action run --file "./src/itest/bitbucket/resources/runWithFindReplace.txt" --findReplace "##action##:getServerInfo"
--action run --input "-a updateWebhook --project ZCLI --repository zcli-repo --name zwebhooks2 --events repo:refs_changed --options secret= " --input "-a getReplacementVariableList --outputType text" --input "-a getWebhookList --project ZCLI --repository zcli-repo --regex zwebhooks2 --dateFormat yyyy-mm-dd " --input "-a getWebhookList --project ZCLI --repository zcli-repo --dateFormat yyyy-mm-dd --outputType text --columns -5,6 "
--action run --input "upm -a getAppList --token MTQ2NzEzNTczMzU4OvagpCFQLzVg7BE0aXzo2YffPhN3"
--action run --token "***" --input "upm -a getAppList"

runFromBranchList

--action runFromBranchList --project "zcli" --repository "zcli-repo" --common "-a getBranch --project zcli --repository zcli-repo --branch @branch@"
--action runFromBranchList --project "zcli" --repository "zcli-repo" --order "Alphabetical" --common "-a getBranch --project zcli --repository zcli-repo --branch @branch@"

runFromBranchRestrictionList

--action runFromBranchRestrictionList --project "zrestrictions" --repository "zrestrictions-repo" --common "--action getBranchRestriction --project zrestrictions --repository zrestrictions-repo --id @restrictionId@"

runFromCommitList

--action runFromCommitList --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ss" --common "--action getCommit --project @project@ --repository @repository@ --id @commitId@ --dateFormat \"yyyy-MM-dd HH:mm:ss\" "

runFromGroupList

--action runFromGroupList --limit 1 --common "-a getUserList --group @group@" --regex "testgroup2"

runFromList

--action runFromList --list "Client, Server" --common "-a get@entry@Info"
--action runFromList --list "org.*,com.*" --regex "@entry@" --common "-a getAppList --regex \"@entry@\""

runFromProjectList

--action runFromProjectList --common "-a getProject --project \"@project@\"" --regex "EXPERIMENT" --continue
--action runFromProjectList --common "-a getProject --project \"@projectId@\"" --continue --regex "EXPERIMENT"
--action runFromProjectList --permission "PROJECT_ADMIN" --common "--action getProject --project @project@"

runFromRepositoryList

--action runFromRepositoryList --project "@all" --common "-a getRepository --project @projectId@ --repository @repositoryId@"
--action runFromRepositoryList --project "@all" --common "-a getRepository --project @projectId@ --repository @repositoryId@" --limit 1
--action runFromRepositoryList --project "EXPERIMENT" --common "-a getRepository --project @project@ --repository \"@repository@\"" --continue
--action runFromRepositoryList --project "EXPERIMENT" --common "-a getRepository --project @projectId@ --repository \"@repositoryId@\"" --continue --regex "ex1"

runFromUserList

--action runFromUserList --group "testgroup2" --input "-a getUser --userId \"@userId@\"" --input "-a getUser --userId @userKey@" --input "-a getUser --userId \"@userDisplayName@\""
--action runFromUserList --input "-a getUser --userId \"@userId@\"" --input "-a getUser --userId @userKey@" --input "-a getUser --userId \"@userDisplayName@\""

runFromWebhookList

--action runFromWebhookList --project "ZCLI" --repository "zcli-repo" --regex "zwebhooks1.*" --common "-a removeWebhook userId "user1,user2,user3"
--action grantProjectPermissions --project "zcli" --permission "PROJECT_WRITE" --group "group1"
--action grantProjectPermissions --project "zcli2" --permission "PROJECT_ADMIN" --userId "user2"

grantRepositoryPermissions

--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --permission "REPO_ADMIN" --userId "user1"
--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --permission "REPO_READ" --userId "user1,user2,user3"
--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --permission "REPO_WRITE" --group "group1"

installApp

--action installApp --app "@default" --simulate

mergePullRequest

--action mergePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2"

removeAccessToken

--action removeAccessToken --userId "admin" --name "702890530373"

removeBranch

--action removeBranch --project "zcli" --repository "zcli-repo" --branch "forRemove"

removeBranchRestriction

--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --branch "master*" --matchingType "PATTERN" --continue
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --branch "master*" --matchingType "PATTERN" --restriction "@all" --continue
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --id "123456789" --continue
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --id "99"
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --restriction "pull-request-only" --branch "master*" --matchingType "PATTERN"

removeSshKey

--action removeSshKey --id "30"

removeSshKeys

--action removeSshKeys --userId "testuser1"
--action removeSshKeys --userId "testuser2"

removeUserFromGroup

--action removeUserFromGroup --userId "testuser3" --group "testgroup2"

removeWebhook

--action removeWebhook --project "ZCLI" --repository "zcli-repo" --name "zpostwebhooks1" --options postWebhooks
--action removeWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1"

revokePermissions

--action revokePermissions --userId "testuser1"

revokeProjectPermissions

--action revokeProjectPermissions --project "zcli" --userId "user1"

revokeRepositoryPermissions

--action revokeRepositoryPermissions --project "zcli" --repository "zcli-repo" --userId "user1"

run

--action run -i "-a getApp --app @default"
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text"
--action run --common "--project ZCLI --repository zcli-repo" --input "-a enableHook --hook \"Verify Committer\"" --input "-a getHook --hook \"Verify Committer\"" --input "-a disableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --input "-a getHook --hook \"Verify Committer\"" --input "-a enableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --input "-a getHook --hook \"com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook\""
--action run --common "--project ZCLI" --input "-a enableHook --hook \"Verify Committer\"" --input "-a getHook --hook \"Verify Committer\"" --input "-a disableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --input "-a getHook --hook \"Verify Committer\"" --input "-a enableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --input "-a getHook --hook \"com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook\""
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction fast-forward-only --group group1,group2 --userId user1,user2 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1 --options remove" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group2 --userId user2 --options remove" --input "-a getBranchRestriction --id @restrictionId@"
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction no-deletes --group group2 --userId user1,user2 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group \"\" --userId \"\" --replace" --input "-a getBranchRestriction --id @restrictionId@"
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction pull-request-only --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1,group2" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --userId user1,user2" --input "-a getBranchRestriction --id @restrictionId@"
--action run --continue --input "-a createRepository --project ZCLI --repository zconditions --continue"
--action run --file "./src/itest/bitbucket/resources/run.txt"
--action run --file "./src/itest/bitbucket/resources/runWithFindReplace.txt" --findReplace "##action##:getServerInfo"
--action run --input "-a updateWebhook --project ZCLI --repository zcli-repo --id @webhookId@ "--action runFromWebhookList name zpostwebhooks2 --events prUpdated --options secret= --options postWebhooks" --input "-a getReplacementVariableList --outputType text" --input "-a getWebhookList --project " ZCLI " --repository " zcli-repo " --regex "zwebhooks1.*" --common "-a removeWebhook --project ZCLI --repository zcli-repo --id @webhookId@"

setBuildStatus

--action setBuildStatus --id "a6ef0e4a1747864a5cc8d4996db0b39d8a6c5af9" --state "INPROGRESS" --key "myKey" --url "http://xxx"
--action setBuildStatus --id "a6ef0e4a1747864a5cc8d4996db0b39d8a6c5af9" --state "successful" --key "myKey" --url "http://xxx"

updateProject

--action updateProject zpostwebhooks2 --dateFormat yyyy-mm-dd --options postWebhooks" --input "-a getWebhookList --project ZCLI --repository zcli-repo --dateFormat yyyy-mm-dd --outputType text --columns -5,6 --options postWebhooks" --options postWebhooks
--action run --input "-a updateWebhook --project ZCLI --repository zcli-repo --name zwebhooks2 --events repo:refs_changed --options secret= " --input "-a getReplacementVariableList --outputType text" --input "-a getWebhookList --project ZCLI --repository zcli-repo --regex zwebhooks2 --dateFormat yyyy-mm-dd " --input "-a getWebhookList --project ZCLI --repository zcli-repo --dateFormat yyyy-mm-dd --outputType text --columns -5,6 "
--action run --input "upm -a getAppList --token NTYyMDI5Mzk5NzIyOu2hQy5K4iO/8PU0vYF1LIe/g5uH"
--action run --token "***" --input "upm -a getAppList"

runFromBranchList

--action runFromBranchList --project "zcli" --repository "zcli-repo" --common "-a getBranch --project zcli --repository zcli-repo --branch @branch@"
--action runFromBranchList --project "zcli" --repository "zcli-repo" --order "Alphabetical" --common "-a getBranch --project zcli --repository zcli-repo --branch @branch@"

runFromBranchRestrictionList

--action runFromBranchRestrictionList --project "zrestrictions" --repository "zrestrictions-repo" --common "--action getBranchRestriction --project zrestrictions --repository zrestrictions-repo --id @restrictionId@"

runFromCommitList

--action runFromCommitList --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ss" --common "--action getCommit --project @project@ --repository @repository@ --id @commitId@ --dateFormat \"yyyy-MM-dd HH:mm:ss\" "

runFromGroupList

--action runFromGroupList --limit 1 --common "-a getUserList --group @group@" --regex "testgroup2"

runFromList

--action runFromList --list "Client, Server" --common "-a get@entry@Info"
--action runFromList --list "org.*,com.*" --regex "@entry@" --common "-a getAppList --regex \"@entry@\""

runFromProjectList

--action runFromProjectList --common "-a getProject --project \"@project@\"" --regex "EXPERIMENT" --continue
--action runFromProjectList --common "-a getProject --project \"@projectId@\"" --continue --regex "EXPERIMENT"
--action runFromProjectList --common "-a renderRequest --url rest/default-reviewers/latest/projects/@project@/conditions --contentType JSON --options pretty,setReplacementVariables"
--action runFromProjectList --permission "PROJECT_ADMIN" --common "--action getProject --project @project@"

runFromRepositoryList

--action runFromRepositoryList --project "@all" --common "-a getRepository --project @projectId@ --repository @repositoryId@"
--action runFromRepositoryList --project "@all" --common "-a getRepository --project @projectId@ --repository @repositoryId@" --limit 1
--action runFromRepositoryList --project "EXPERIMENT" --common "-a getRepository --project @project@ --repository \"@repository@\"" --continue
--action runFromRepositoryList --project "EXPERIMENT" --common "-a getRepository --project @projectId@ --repository \"@repositoryId@\"" --continue --regex "ex1"

runFromUserList

--action runFromUserList --group "testgroup2" --input "-a getUser --userId \"@userId@\"" --input "-a getUser --userId @userKey@" --input "-a getUser --userId \"@userDisplayName@\""
--action runFromUserList --input "-a getUser --userId \"@userId@\"" --input "-a getUser --userId @userKey@" --input "-a getUser --userId \"@userDisplayName@\""

runFromWebhookList

--action runFromWebhookList --project "ZCLI" --repository "zcli-repo" --regex "zpostwebhooks1.*" --common "-a removeWebhook --project ZCLI --repository zcli-repo --id @webhookId@ --options postWebhooks" --options postWebhooks
--action runFromWebhookList --project "ZCLI" --repository "zcli-repo" --regex "zpostwebhooks1.*" --common "-a removeWebhook --project ZCLI --repository zcli-repo --id @webhookId@" --options postWebhooks
--action runFromWebhookList --project "ZCLI" --repository "zcli-repo" --regex "zwebhooks1.*" --common "-a removeWebhook --project ZCLI --repository zcli-repo --id @webhookId@ "
--action runFromWebhookList --project "ZCLI" --repository "zcli-repo" --regex "zwebhooks1.*" --common "-a removeWebhook --project ZCLI --repository zcli-repo --id @webhookId@"

setBuildStatus

--action setBuildStatus --id "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb" --state "INPROGRESS" --key "myKey" --url "http://xxx"
--action setBuildStatus --id "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb" --state "successful" --key "myKey" --url "http://xxx"

updateHook

--action updateHook --project "ZCLI" --hook "com.isroot.stash.plugin.yacc:yaccHook" --config " { \"committerEmailRegex\": \"xxx\", \"commitMessageRegex\": \"\", \"issueJqlMatcher\": \"\", \"branchNameRegex\": \"\", \"excludeByRegex\": \"\", \"excludeBranchRegex\": \"\", \"excludeUsers\": \"\", \"errorMessageHeader\": \"\", \"errorMessage.COMMITTER_EMAIL\": \"\", \"errorMessage.COMMITTER_EMAIL_REGEX\": \"\", \"errorMessage.COMMITTER_NAME\": \"\", \"errorMessage.COMMIT_REGEX\": \"\", \"errorMessage.ISSUE_JQL\": \"\", \"errorMessage.NO_JIRA_ISSUE\": \"\", \"errorMessage.BRANCH_NAME\": \"\", \"errorMessageFooter\": \"\" } "
--action updateHook --project "ZCLI" --repository "zcli-repo" --hook "com.isroot.stash.plugin.yacc:yaccHook" --config " { \"committerEmailRegex\": \"xxx\", \"commitMessageRegex\": \"\", \"issueJqlMatcher\": \"\", \"branchNameRegex\": \"\", \"excludeByRegex\": \"\", \"excludeBranchRegex\": \"\", \"excludeUsers\": \"\", \"errorMessageHeader\": \"\", \"errorMessage.COMMITTER_EMAIL\": \"\", \"errorMessage.COMMITTER_EMAIL_REGEX\": \"\", \"errorMessage.COMMITTER_NAME\": \"\", \"errorMessage.COMMIT_REGEX\": \"\", \"errorMessage.ISSUE_JQL\": \"\", \"errorMessage.NO_JIRA_ISSUE\": \"\", \"errorMessage.BRANCH_NAME\": \"\", \"errorMessageFooter\": \"\" } "

updateProject

--action updateProject --project "zcli" --name "zcli name updated"
--action updateProject --project "zcli2" --private

updatePullRequest

--action updatePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2" --name "pr2xxx"
--action updatePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2xxx" --name "pr2"

updateRepository

--action updateRepository --project "zcli" --name repository "zcli name -repo updated" --action updateProject --project "zcli2" --private
updatePullRequest
name "zcli-repo"
--action updatePullRequest updateRepository --project "zcli" --repository "zcli-repo" --pullRequest name "pr2" --name "pr2xxxzcli-repo updated"
--action updatePullRequest updateRepository --project "zcli" --repository "zclizcli2-repo" --private --notForkable

updateReviewCondition

---pullRequest "pr2xxxaction updateReviewCondition --project "ZCLI" --id "43" --name reviewers "pr2user1"
updateRepository

updateUser

--action updateRepository --project "zcli" updateUser --repository "zcli-repo updateduserId "testuser1" --name "zcli-repouserEmail "former.employee.testuser@x.com1"
--action updateRepository updateUser --project userId "zclitestuser1" --repository "zcli-repouserFullName "Test User1" --name "zcli-repo updated"userEmail "testuser@x.com1"

updateWebhook

--action updateRepository updateWebhook --project "zcliZCLI" --repository "zcli2zcli-repo" --private --notForkable

updateUser

--action updateUser --userId "testuser1id "46" --userEmail "former.employee.testuser@x.com1"
--action updateUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser@x.com1"

updateWebhook

url "https://examplegear.com/acli2" --name "zpostwebhooks1updated" --events "prCommented,prUpdated" --options "disable" --options postWebhooks
--action updateWebhook --project "ZCLI" --repository "zcli-repo" --id "29646" --url "https://examplegear.com/acli2" --name "zwebhooks1updated" --events "repo:comment:added,repo:refs_changed" --options "disable"
--action updateWebhook --project "ZCLI" --repository "zcli-repo" --name "zpostwebhooks2" --events "prUpdated" --options "enable" --options postWebhooks
--action updateWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks2" --events "repo:refs_changed" --options "enable"

validateLicense

--action validateLicense
Excerpt
Table of Contents
maxLevel1
absoluteUrltrue