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 "167f93c5e7bfb0f4e4747f9dfe49bc31fe01ca83" --message "addBranch action"
--action addBranch --project "zcli" --repository "zcli-repo" --branch "forRemove" --id "167f93c5e7bfb0f4e4747f9dfe49bc31fe01ca83"

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 --userId project "testuser1ZCLI" --file "./src/itest/bitbucket/resources/sshkey.rsa.pub"
--action addSshKey --userId "testuser2" --file "-"

addUser

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

addSshKey

--action addSshKey --userId "testuser1" --userPassword "***file "/opt/atlassian/pipelines/agent/build/src/itest/bitbucket/resources/sshkey.rsa.pub"
--action addUser addSshKey --userId "testuser2" --userFullName file "Test User2-"

addUser

--userEmail "testuser@x.com2action addUser --userId "automation" --userPassword "***userEmail "testuser@x.com1"
--action addUser --userId "testuser3testuser1" --userFullName "Test User3User1" --userEmail "testuser@x.com3com1" --userPassword "***"
--action addUser --userId "testuser2" --userFullName "Test User2" --userEmail "testuser@x.com2" --userPassword "***"
--action addUser --userId "testuser3" --userFullName "Test User3" --userEmail "testuser@x.com3" --userPassword "***"

addUserToGroup

--action addUserToGroup --userId "testuser3" --group "testgroup2" --autoGroup

addWebhook

--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1zpostwebhooks1" --url "https://acli.examplegear.com/acli" --events "repo:modifiedprCommented,prUpdated" --options "disable"field "skipCI=false" --field "branchesToIgnore=xxx" --options postWebhooks
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1zpostwebhooks1" --url "https://acli.examplegear.com/acli" --events "repo:modifiedprCommented,prUpdated" --options "secret=my secret"
createProject
" --options postWebhooks
--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" --public
createPullRequest
options postWebhooks
--action createPullRequest addWebhook --project "zcliZCLI" --repository "zcli-repo" --name "pr1"zpostwebhooks2" --events "prCommented,prUpdated" --url "https://examplegear.com/acli" --from options "zfeature1disable" --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 "master" --reviewers "user1,user2,user3"

createRepository

--action createRepository --project "zcli" --events "repo:comment:added,repo:refs_changed"
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zcli-repozwebhooks1" --action createRepository --project "zcliurl "https://examplegear.com/acli" --repository "zcli2-repo" --public --forkable
declinePullRequest
events "repo:comment:added,repo:refs_changed" --options "secret=abcdefghi"
--action declinePullRequest addWebhook --project "zcliZCLI" --repository "zcli-repo" --pullRequest name "pr1zwebhooks2"

getAccessTokenList

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

getApp

--action getApp --app "@default"

getApplicationLinkList

--action getApplicationLinkList

getBranch

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

createBranch

--action createBranch --project "zcli" --repository "zcli-repo"

getBranchList

--action getBranchList --project "zclibranch "forRemove" --repository id "zcli-repo84c3c81a012240a7b02fd015016ddfa260cf30d5"
getBranchRestriction

createProject

--action getBranchRestriction createProject --project "zrestrictionszcli" --repository "zrestrictions-reponame "zcli name" --id description "1004zcli description"
getBranchRestrictionList
--action getBranchRestrictionList createProject --project "zrestrictionszcli2" --repository "zrestrictions-repo"public

createPullRequest

--action getBranchRestrictionList createPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --name "pr1" --from "zfeature1" --matchingType to "branchmaster"
--action getBranchRestrictionList createPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --regex name "pr2" (no -deletes)|(read-only)"

getBuildStatusList

--action getBuildStatusList --id "1533b2442bba6defb5e05fefed49f0d9713e176b" --dateFormat "yyyy-MM-dd HH:mm:ss"

getClientInfo

--action getClientInfo

getCommitList

--action getCommitList --project "ZCLI-description "pr2 description" --from "zfeature2" --to "master" --reviewers "user1,user2,user3"

createRepository

--action createRepository --project "zcli" --repository "zcli-repo" --dateFormat name "yyyy-MM-dd HH:mm:sszcli-repo"
--action getCommitList createRepository --project "ZCLIzcli" --repository "zclizcli2-repo" --from "1533b2442bba6defb5e05fefed49f0d9713e176b" public --to "4ede1a0b9581e61b52e74e70bf78b5e04230683a"forkable

declinePullRequest

--action getCommitList declinePullRequest --project "ZCLIzcli" --repository "zcli-repo" --from pullRequest "master" --to "master"pr1"

deleteBranch

--action getCommitList deleteBranch --project "ZCLIzcli" --repository "zcli-repo" --startDate "2021-02-17 20:44:24" --dateFormat "yyyy-MM-dd HH:mm:ss"branch "forRemove"

disableHook

--action getCommitList disableHook --project "ZCLI" --repository "zcli-repo" --startDate "2021-02-17 20:44:24" --endDate "2021-02-17 20:44:24" --dateFormat "yyyy-MM-dd HH:mm:ss"--action getCommitList --project "ZCLI" --repository "zcli-repo" --userId "automationhook "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

getAuditLogList

--action getAuditLogList --options "search=Repositories" --dateFormat "yyyy-MM-dd_HH:mm:ss"

getBranch

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

getBranchList

--action getGroupList

getHook

getBranchList --action getHook --project "ZCLIproject "zcli" --repository "zcli-repo" --hook "Reject Force Push"
getHookList
--action getHookList getBranchList --project "ZCLIzcli" --repository "zcli-repo" --action getHookList outputFormat 999 --project outputType "ZCLItext" --repository options "zcli-repotableNoWrap" --regex "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --outputFormat 2
getPermissionList
columns "-1,2" --dateFormat "yyyy-MM-dd HH:mm:ss"

getBranchRestriction

--action getProject --project "1044"
--action getPermissionListgetBranchRestriction --action getPermissionList project "zrestrictions" --regex repository "testuser1"

getProject

zrestrictions-repo" --id "3205"

getBranchRestrictionList

--action getProject getBranchRestrictionList --project "zcli namezrestrictions" --action getProject --project "zclirepository "zrestrictions-repo"
--action getProject getBranchRestrictionList --project "zcli2zrestrictions"

getProjectList

--action getProjectList--action getProjectList --permission "PROJECT_ADMINrepository "zrestrictions-repo" --matchingType "branch"
--action getProjectList getBranchRestrictionList --permission project "PROJECT_VIEWzrestrictions" ---action getProjectList repository "zrestrictions-repo" --regex "ZCLI"
--action getProjectList --token "***"
getProjectPermissionList
(no-deletes)|(read-only)"

getBuildStatusList

--action getProjectPermissionList getBuildStatusList --project id "zcli691db167a2f346d1adf0bcc08c628c92a749c994" --action getProjectPermissionList dateFormat "yyyy--project "zcli" --regex "user1"
getPullRequest
MM-dd HH:mm:ss"

getClientInfo

--action getClientInfo

getCommitList

--action getPullRequest getCommitList --project "zcliZCLI" --repository "zcli-repo" --pullRequest "2dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequest getCommitList --project "zcliZCLI" --repository "zcli-repo" --pullRequest from "pr2691db167a2f346d1adf0bcc08c628c92a749c994" --dateFormat "yyyy-MM-dd HH:mm:ssto "f40dd0f97a495c6719daa607bd6f32b8c8c85da1"
--action getPullRequest getCommitList --project "zcliZCLI" --repository "zcli-repo" --pullRequest from "pr2xxxmaster" --dateFormat "yyyy-MM-dd HH:mm:ssto "master"

getPullRequestList

--action getPullRequestList getCommitList --project "zcliZCLI" --repository "zcli-repo" --startDate "2024-12-03 16:55:20" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList getCommitList --project "zcliZCLI" --repository "zcli-repo" --direction startDate "INCOMING" 2024--dateFormat "yyyy-MM-dd HH:mm:ss"--action getPullRequestList --project "zcli" --repository "zcli-repo" --direction "outgoing12-03 16:55:20" --endDate "2024-12-03 16:55:20" --dateFormat "yyyy-MM-dd HH:mm:ss" --verbose
--action getPullRequestList getCommitList --project "zcliZCLI" --repository "zcli-repo" --regex userId "NOT_FOUNDautomation" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList getCommitList --project "zcli" --repository "zcli-repo" --regex "pr2" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList getCommitList --project "zcli" --repository "zcli-repo" --state to "ALLzfeature2" --dateFormat outputType "text" yyyy--MM-dd HH:mm:sscolumns "-1,2" --options "tableNoWrap"
--action getPullRequestList getCommitList --project "zcli" --repository "zcli-repo" --state to "MERGEDzfeature2" --dateFormat outputType "text" yyyy -MM-dd HH:mm:ss"

getRepository

--action getRepository --project "zcli-columns "-1,2" --repository "794"options "tableNoWrap,merges=only"

getFileInfo

--action getRepository getFileInfo --project "zcliExperiment" --repository "acli" zcli-repo updated--path "license"
--action getRepository getFileInfo --project "zcliExperiment" --repository "zcli-repoacli" --action getRepository path "license/LICENSE.txt"

getFileList

--action getFileList --project "zcliExperiment" --repository "zcli2-repo"

getRepositoryList

--action getRepositoryList --project "zcli"acli" --outputType "text" --columns "-1,2,3" --descendents --options "tableNoWrap"
--action getRepositoryList getFileList --project "zcliExperiment" --regex repository "NOT_FOUND"

getRepositoryPermissionList

acli" --action getRepositoryPermissionList --project "zclioutputType "text" --repository options "zcli-repotableNoWrap"
--action getRepositoryPermissionList getFileList --project "zcliExperiment" --repository "zcli-repoacli" --regex path "user1license"

getServerInfo

--action getServerInfo outputType "text" --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mmoptions "tableNoWrap"
--action getServerInfo getFileList --outputFormat 999project "Experiment" --action getServerInfo --user "anonymous"

getSshKeyList

--action getSshKeyList --userId "testuser1"
--action getSshKeyList --userId "testuser1" --regex "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 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" --hook "Reject Force Push"
--action getHook --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-MM-dd"
grantPermissions
hook "com.isroot.stash.plugin.yacc:yaccHook"

getHookList

--action grantPermissions getHookList --permission "ADMIN" --userId "testuser1project "ZCLI"
--action grantPermissions getHookList --permission project "PROJECT_CREATEZCLI" --group repository "testgroup1zcli-repo"
grantProjectPermissions
--action grantProjectPermissions getHookList --project "zcliZCLI" --permission "PROJECT_ADMIN" --userId "user1"--action grantProjectPermissions --project "zcli" --permission "PROJECT_READ" --userId "user1,user2,user3repository "zcli-repo" --outputFormat 999 --outputType "text" --columns "-project,repository,name,description" --options "tableNoWrap"
--action grantProjectPermissions getHookList --project "zcliZCLI" --permission "PROJECT_WRITErepository "zcli-repo" --group "group1"regex "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook"

getPermissionList

--action grantProjectPermissions getPermissionList
--project "zcli2" action getPermissionList --permission "PROJECT_ADMIN" --userId "user2regex "testuser1"
grantRepositoryPermissions

getProject

--action grantRepositoryPermissions getProject --project "zcli2682"
--repository action getProject --project "zcli -reponame"
--permission "REPO_ADMIN" action getProject --userId project "user1zcli"
--action grantRepositoryPermissions getProject --project "zclizcli2"

getProjectList

--repository "zcli-repo" -action getProjectList
--action getProjectList --permission "REPOPROJECT_READADMIN"
--action getProjectList -userId "user1,user2,user3-permission "PROJECT_VIEW"
--action grantRepositoryPermissions getProjectList --project regex "zcliZCLI" --repository outputType "zcli-repotext" --permission "REPO_WRITE" outputFormat 999 --group options "group1tableNoWrap"

installApp

--action installApp getProjectList --app token "@default" --simulate
mergePullRequest
***"

getProjectPermissionList

--action mergePullRequest getProjectPermissionList --project "zcli" --repository "zcli-repo" --pullRequest "pr2"
removeAccessToken
--action removeAccessToken getProjectPermissionList --userId project "adminzcli" --name regex "180461203545user1"
removeBranch

getPullRequest

--action removeBranch getPullRequest --project "zcli" --repository "zcli-repo" --branch pullRequest "forRemove2"
removeBranchRestriction
--action removeBranchRestriction getPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --branch pullRequest "master*pr2" --matchingType dateFormat "PATTERN" yyyy--continueMM-dd HH:mm:ss"
--action removeBranchRestriction getPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --branch pullRequest "master*pr2xxx" --matchingType dateFormat "PATTERN" yyyy--restriction "@all" --continueMM-dd HH:mm:ss"

getPullRequestList

--action removeBranchRestriction getPullRequestList --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --id "1004dateFormat "yyyy-MM-dd HH:mm:ss"
--action removeBranchRestriction getPullRequestList --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --id "123456789" --continuedirection "INCOMING" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action removeBranchRestriction getPullRequestList --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --restriction direction "outgoing" pull -request-onlydateFormat "yyyy--branch "master*MM-dd HH:mm:ss" --matchingType "PATTERN"
removeSshKey
verbose
--action removeSshKey getPullRequestList --id project "392zcli"

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 "zwebhooks1"

revokePermissions

--action revokePermissions --userId "testuser1"

revokeProjectPermissions

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

revokeRepositoryPermissions

--action revokeRepositoryPermissions --repository "zcli-repo" --regex "NOT_FOUND" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList --project "zcli" --repository "zcli-repo" --regex "pr2" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList --project "zcli" --repository "zcli-repo" --state "ALL" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList --project "zcli" --repository "zcli-repo" --userId state "user1MERGED"

run

--action run -i "-a getApp --app @default"dateFormat "yyyy-MM-dd HH:mm:ss"

getRepository

--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType textgetRepository --project "zcli" --repository "2062"
--action getRepository --project "zcli" --repository "zcli-repo updated"
--action run getRepository --common "--project ZCLI project "zcli" --repository "zcli-repo"
--input "action getRepository -a enableHook --hook \"Verify Committer\"" project "zcli" --input repository "-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 "upm -a getAppList --token OTcyNDY5MDk1Mzc0OvAlTeAPNr5TTH8YWx3ksAQgpel0"
--action run --token "***" --input "upm -a getAppList"

runFromBranchList

--action runFromBranchList zcli2-repo"

getRepositoryList

--action getRepositoryList --project "zcli"
--action getRepositoryList --project "zcli" --outputType "text" --columns "project,repository,name,public,forkable" --select "public:Yes" --select "forkable:Yes"
--action getRepositoryList --project "zcli" --regex "NOT_FOUND"

getRepositoryPermissionList

--action getRepositoryPermissionList --project "zcli" --repository "zcli-repo"
--action getRepositoryPermissionList --project "zcli" --repository "zcli-repo" --regex "user1"

getReviewConditionList

--action getReviewConditionList --project "ZCLI" --options "tableNoWrap"
--action getReviewConditionList --project "ZCLI" --outputType "text" --options "tableNoWrap"
--action getReviewConditionList --project "ZCLI" --repository "zconditions" --outputType "text" --options "tableNoWrap"

getServerInfo

--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm"
--action getServerInfo --outputFormat 999
--action getServerInfo --user "anonymous"

getSource

--action getSource --project "Experiment" --repository "acli" --path "gradle/wrapper/gradle-wrapper.jar" --file "build/output/source/gradle-wrapper.jar"
--action getSource --project "Experiment" --repository "acli" --path "license/LICENSE.txt"

getSshKeyList

--action getSshKeyList --userId "testuser1"
--action getSshKeyList --userId "testuser1" --regex "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" --dateFormat "yyyy-mm-dd"
--action getWebhookList --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-mm-dd" --options postWebhooks

grantPermissions

--action grantPermissions --permission "ADMIN" --userId "testuser1"
--action grantPermissions --permission "PROJECT_CREATE" --group "testgroup1"

grantProjectPermissions

--action grantProjectPermissions --project "zcli" --permission "PROJECT_ADMIN" --userId "user1"
--action grantProjectPermissions --project "zcli" --permission "PROJECT_READ" --userId "user1,user2,user3"
--action grantProjectPermissions --project "zcli" --permission "PROJECT_WRITE" --group "group1"
--action grantProjectPermissions --project "zcli" --repository "zcli-repopermission "REPO_CREATE" --common group "group1"
--a getBranch action grantProjectPermissions --project zcli "zcli2" --repository zcli-repo --branch @branch@"permission "PROJECT_ADMIN" --userId "user2"

grantRepositoryPermissions

--action runFromBranchList grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --order permission "AlphabeticalREPO_ADMIN" --common userId "user1"
--a getBranch action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --branch @branch@"
runFromBranchRestrictionList
permission "REPO_READ" --userId "user1,user2,user3"
--action runFromBranchRestrictionList grantRepositoryPermissions --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --common permission "REPO_WRITE" --action getBranchRestriction group "group1"

installApp

--project zrestrictions action installApp --repository zrestrictions-repo --id @restrictionId@"
runFromCommitList
app "@default" --simulate

mergePullRequest

--action runFromCommitList mergePullRequest --project "ZCLIzcli" --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
pullRequest "pr2"

removeAccessToken

--action removeAccessToken --userId "admin" --name "199224441470"

removeBranchRestriction

--action runFromGroupList removeBranchRestriction --limit 1 project "zrestrictions" --common repository "zrestrictions-a getUserList repo" --group @group@branch "master*" --regex matchingType "testgroup2PATTERN" --continue

runFromList

--action runFromList removeBranchRestriction --list project "Client, Serverzrestrictions" --common repository "zrestrictions-a get@entry@Inforepo" --action runFromList --list "org.*,com.branch "master*" --regex matchingType "@entry@PATTERN" --common restriction "@all" -a getAppList --regex \"@entry@\""

runFromProjectList

-continue
--action runFromProjectList removeBranchRestriction --common "-a getProject project "zrestrictions" --project \"@project@\"repository "zrestrictions-repo" --regex id "EXPERIMENT123456789" --continue
--action runFromProjectList removeBranchRestriction --common project "zrestrictions" -a getProject --project \"@projectId@\"" --continue --regex "EXPERIMENTrepository "zrestrictions-repo" --id "3205"
--action runFromProjectList removeBranchRestriction --permission project "PROJECT_ADMINzrestrictions" --common repository "zrestrictions--action getProject repo" --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 "ZCLIrestriction "pull-request-only" --branch "master*" --matchingType "PATTERN"

removeSshKey

--action removeSshKey --id "934"

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 getFileInfo --project EXPERIMENT --repository acli --path src/itest/bitbucket/resources/run.txt" -i "-a run -f @bitbucket220:@downloadUrl@"
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text"
--action run -i "-a getSource --project EXPERIMENT --repository acli --path src/itest/bitbucket/resources/run.txt --file @temp" -i "-a getReplacementVariableList" -i "-a run -f @temp"
--action run -i "-a run -f @bitbucket220:projects/EXPERIMENT/repos/acli/raw/src/itest/bitbucket/resources/run.txt?at=refs%2Fheads%2Fmaster"
--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 zcli" --input "-a getProject" --input "-a grantProjectPermissions --permission repo_create" --input "-a getProject" --input "-a grantProjectPermissions --permission project_read" --input "-a getProject" --input "-a grantProjectPermissions --permission project_write" --input "-a getProject" --input "-a getProjectList --outputFormat 999 --select defaultpermission:((PROJECT_WRITE)|(PROJECT_READ)) --columns key,defaultPermission --outputType text" --input "-a runFromProjectList --outputFormat 999 --select defaultpermission:PROJECT_WRITE -i \"-a getClientInfo\"" --input "-a revokeProjectPermissions" --input "-a getProject"
--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 "/opt/atlassian/pipelines/agent/build/src/itest/bitbucket/resources/r1.acli"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bitbucket/resources/run.txt"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bitbucket/resources/runWithFindReplace.txt" --findReplace "##action##:getServerInfo"
--action run --input "-a updateRepository --project zcli --repository \"zcli-repo\" --description \"zcli repository\"" --input "-a updateRepository --project zcli --repository \"zcli-repo\" --description \"\"" --input "-a getAuditLogList --limit 100"
--action run --input "-a updateWebhook --project ZCLI --repository zcli-repo --name zpostwebhooks2 --events prUpdated --options secret= --options postWebhooks" --input "-a getReplacementVariableList --outputType text" --input "-a getWebhookList --project ZCLI --repository zcli-repo --regex 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 "***"
--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"

runFromHookList

--action runFromHookList --project "ZCLI" --repository "zcli-repo" --outputFormat 2 -i "-a getReplacementVariableList --outputType text"

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 getRepositoryList --project \"@project@\" --columns 1,2,4,8 --append -f build/output/runner/runFromProjectListAppend.txt" --clearFileBeforeAppend
--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 "691db167a2f346d1adf0bcc08c628c92a749c994" --state "INPROGRESS" --key "myKey" --url "http://xxx"
--action setBuildStatus --id "691db167a2f346d1adf0bcc08c628c92a749c994" --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\": \"\", \"jiraLink\": \"all\" } "
--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\": \"\", \"jiraLink\": \"all\" } "

updateProject

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

updatePullRequest

--action updatePullRequest --project "zcli" --repository "zcli-repo" --regex pullRequest "zwebhooks1.*pr2" --common "-a removeWebhook --project ZCLI --repository zcli-repo --id @webhookId@"
setBuildStatus
name "pr2xxx"
--action setBuildStatus updatePullRequest --id project "1533b2442bba6defb5e05fefed49f0d9713e176bzcli" --state repository "INPROGRESSzcli-repo" --key pullRequest "myKeypr2xxx" --url "http://xxxname "pr2"

updateRepository

--action setBuildStatus updateRepository --id project "1533b2442bba6defb5e05fefed49f0d9713e176bzcli" --state "successfulrepository "zcli-repo updated" --key name "myKey" --url "http://xxx"
updateProject
zcli-repo"
--action updateProject updateRepository --project "zcli" --repository "zcli-repo" --name "zcli name -repo updated"
--action updateProject updateRepository --project "zcli" --repository "zcli2-repo" --private --notForkable
updatePullRequest

updateReviewCondition

--action updatePullRequest updateReviewCondition --project "zcliZCLI" --repository id "1378" zcli--repo" reviewers "user1"

updateUser

--action updateUser --pullRequest userId "pr2testuser1" --name "pr2xxxuserEmail "former.employee.testuser@x.com1"
--action updatePullRequest updateUser --project userId "zclitestuser1" --repository "zcli-repouserFullName "Test User1" --pullRequest "pr2xxx" --name "pr2userEmail "testuser@x.com1"
updateRepository

updateWebhook

--action updateRepository updateWebhook --project "zcliZCLI" --repository "zcli-repo updated" --name "zcli-repo" --action updateRepository id "1365" --project "zcliurl "https://examplegear.com/acli2" --repository name "zwebhooks1updated" zcli-repo--events "repo:comment:added,repo:refs_changed" --name "zcli-repo updatedoptions "disable"
--action updateRepository updateWebhook --project "zcliZCLI" --repository "zcli2zcli-repo" --private --notForkable

updateUser

--action updateUser --userId "testuser1id "1803" --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 name "93zpostwebhooks2" --name events "zwebhooks1prUpdated" --options "disableenable" --options "secret=my secret"postWebhooks
--action updateWebhook --project "ZCLI" --repository "zcli-repo" --id name "93zwebhooks2" --url events "https://acli2.examplegear.com" --name "zwebhooks1updatedrepo:refs_changed" --options "enable" --events "repo:modified"

validateLicense

--action validateLicense
Excerpt
Table of Contents
maxLevel1
absoluteUrltrue