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

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

addReviewCondition

--action addReviewCondition --project "ZCLI" --repository "zconditions" --reviewers "user1,user2" --reviewApprovalCount 2 --matchingType "pattern" --from "dev.*" --toMatchingType "branch" --to "master"
--action addReviewCondition --project "ZCLI" --reviewers "user1,user2"
--action addReviewCondition --project "ZCLI" --reviewers "user1,user2" --reviewApprovalCount 2

addSshKey

--action addSshKey --userId "testuser1" --file "./opt/atlassian/pipelines/agent/build/src/itest/bitbucket/resources/sshkey.rsa.pub"
--action addSshKey --userId "testuser2" --file "-"

addUser

--action addUser --userId "automation" --userEmail "testuser@x.com1"
--action addUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser@x.com1" --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 "zpostwebhooks1" --url "https://examplegear.com/acli" --events "prCommented,prUpdated" --field "skipCI=false" --field "branchesToIgnore=xxx" --options postWebhooks
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zpostwebhooks1" --url "https://examplegear.com/acli" --events "prCommented,prUpdated" --options "secret=" --options postWebhooks
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zpostwebhooks1" --url "https://examplegear.com/acli" --events "prCommented,prUpdated" --options postWebhooks
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zpostwebhooks2" --events "prCommented,prUpdated" --url "https://examplegear.com/acli" --options "disable" --options "secret=" --options postWebhooks
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1" --url "https://examplegear.com/acli" --events "repo:comment:added,repo:refs_changed"
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks1" --url "https://examplegear.com/acli" --events "repo:comment:added,repo:refs_changed" --options "secret=abcdefghi"
--action addWebhook --project "ZCLI" --repository "zcli-repo" --name "zwebhooks2" --events "repo:comment:added,repo:refs_changed" --url "https://examplegear.com/acli" --options "disable" --options "secret=abcdefghi"
createProject

createBranch

--action createProject createBranch --project "zcli" --repository "zcli-repo" --branch "forRemove" --id "84c3c81a012240a7b02fd015016ddfa260cf30d5"

createProject

--action createProject --project "zcli" --name "zcli name" --description "zcli description"
--action createProject --project "zcli2" --public

createPullRequest

--action createPullRequest --project "zcli" --repository "zcli-repo" --name "pr1" --from "zfeature1" --to "master"
--action createPullRequest --project "zcli" --repository "zcli-repo" --name "pr2" --description "pr2 description" --from "zfeature2" --to "master" --reviewers "user1,user2,user3"

createRepository

--action createRepository --project "zcli" --repository "zcli-repo" --name "zcli-repo"
--action createRepository --project "zcli" --repository "zcli2-repo" --public --forkable

declinePullRequest

--action declinePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr1"

deleteBranch

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

disableHook

--action disableHook --project "ZCLI" --repository "zcli-repo" --hook "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

getAuditLogList

--action getBranch getAuditLogList --project options "zclisearch=Repositories" --repository dateFormat "zcli-repoyyyy-MM-dd_HH:mm"
getBranchList

getBranch

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

getBranchList

--action getBranchList --project "zcli" --repository "zcli-repo"
--action getBranchList --project "zcli" --repository "zcli-repo" --outputFormat 999 --outputType "text" --options "tableNoWrap" --columns "-1,2" --dateFormat "yyyy-MM-dd HH:mm:ss"

getBranchRestriction

--action getBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --id "993205"

getBranchRestrictionList

--action getBranchRestrictionList --project "zrestrictions" --repository "zrestrictions-repo"
--action getBranchRestrictionList --project "zrestrictions" --repository "zrestrictions-repo" --matchingType "branch"
--action getBranchRestrictionList --project "zrestrictions" --repository "zrestrictions-repo" --regex "(no-deletes)|(read-only)"

getBuildStatusList

--action getBuildStatusList --id "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb691db167a2f346d1adf0bcc08c628c92a749c994" --dateFormat "yyyy-MM-dd HH:mm:ss"

getClientInfo

--action getClientInfo

getCommitList

--action getCommitList --project "ZCLI" --repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --from "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb691db167a2f346d1adf0bcc08c628c92a749c994" --to "3ba3b4d15d86d6346e6d56789c9a834dcf9dff16f40dd0f97a495c6719daa607bd6f32b8c8c85da1"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --from "master" --to "master"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --startDate "20212024-0512-05 1703 16:5855:2620" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getCommitList --project "ZCLI" --repository "zcli-repo" --startDate "20212024-0512-05 1703 16:5855:2620" --endDate "20212024-0512-05 1703 16:5855:2620" --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 getCommitList --project "Experimentzcli" --repository "aclizcli-repo" --to "zfeature2" --outputType "text" --columns "-1,2,3" --descendents --options "tableNoWrap"
--action getFileList getCommitList --project "Experimentzcli" --repository "aclizcli-repo" --to "zfeature2" --outputType "text" --columns "-1,2" --options "tableNoWrap,merges=only"

getFileInfo

--action getFileList getFileInfo --project "Experiment" --repository "acli" --path "license"
--action getFileInfo --project "Experiment" --outputType repository "textacli" --options "tableNoWrap"path "license/LICENSE.txt"

getFileList

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

getHook

--action getHook --project "ZCLIgetFileList --project "Experiment" --repository "acli" --outputType "text" --hook options "Reject Force PushtableNoWrap"
--action getHook getFileList --project "ZCLIExperiment" --hook "com.isroot.stash.plugin.yacc:yaccHook"--action getHook --project "ZCLIrepository "acli" --path "license" --repository outputType "zcli-repotext" --hook options "Reject Force PushtableNoWrap"
--action getHookList --project "ZCLI"
--action getHook getFileList --project "ZCLIExperiment" --repository "zcli-repoacli" --hook "com.isroot.stash.plugin.yacc:yaccHook"

getHookList

--action getHookList --project "ZCLI" --repository "zcli-reporegex "src/main/java/.*" --descendents --outputType "text" --options "tableNoWrap"

getGroupList

--action getGroupList

getHook

--action getHook --project "ZCLI" --hook "Reject Force Push"
--action getHookList getHook --project "ZCLI" --repository "zcli-repo" --outputFormat 999 --outputType "text" --columns "-project,repository,name,description" --options "tableNoWraphook "com.isroot.stash.plugin.yacc:yaccHook"
--action getHook --project "ZCLI" --repository "zcli-repo" --hook "Reject Force Push"
--action getHookList getHook --project "ZCLI" --repository "zcli-repo" --regex hook "com.atlassianisroot.bitbucketstash.server.bitbucket-bundled-hooks:verify-committer-hook"
getPermissionList
plugin.yacc:yaccHook"

getHookList

--action getPermissionListgetHookList --action getPermissionList --regex "testuser1"
getProject
project "ZCLI"
--action getProject getHookList --project "64ZCLI" --action getProject --project repository "zcli name-repo"
--action getProjectList
--action getProjectList --permission "PROJECT_ADMIN"
--action getProject getHookList --project "zcliZCLI" --action getProject --project "zcli2"

getProjectList

--action getProjectList --permission "PROJECT_VIEWrepository "zcli-repo" --outputFormat 999 --outputType "text" --columns "-project,repository,name,description" --options "tableNoWrap"
--action getProjectList getHookList --regex project "ZCLI" --action getProjectList repository "zcli-repo" --token "***"

getProjectPermissionList

--action getProjectPermissionList --project "zcli"regex "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook"

getPermissionList

--action getProjectPermissionList getPermissionList
--project "zcli" action getPermissionList --regex "user1testuser1"
getPullRequest

getProject

--action getPullRequest getProject --project "zcli2682"
--repository "zcli-repo" --pullRequest "2action getProject --project "zcli name"
--action getPullRequest getProject --project "zcli"
--repository "zcli-repo" --pullRequest "pr2" --dateFormat "yyyy-MM-dd HH:mm:ssaction getProject --project "zcli2"

getProjectList

--action getProjectList
--action getProjectList --permission "PROJECT_ADMIN"
--action getProjectList --permission "PROJECT_VIEW"
--action getPullRequest getProjectList --project regex "zcliZCLI" --repository outputType "text" zcli--repo" outputFormat 999 --pullRequest options "pr2xxxtableNoWrap"
--dateFormat "yyyyaction getProjectList -MM-dd HH:mm:ss-token "***"
getPullRequestList

getProjectPermissionList

--action getPullRequestList getProjectPermissionList --project "zcli"
--repository action getProjectPermissionList --project "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ssregex "user1"

getPullRequest

--action getPullRequest --project "zcli" --repository "zcli-repo" --pullRequest "2"
--action getPullRequestList getPullRequest --project "zcli" --repository "zcli-repo" --direction pullRequest "INCOMINGpr2" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList getPullRequest --project "zcli" --repository "zcli-repo" --direction pullRequest "outgoingpr2xxx" --dateFormat "yyyy-MM-dd HH:mm:ss" --verbose

getPullRequestList

--action getPullRequestList --project "zcli" --repository "zcli-repo" --regex "NOT_FOUND" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList --project "zcli" --repository "zcli-repo" --regex direction "pr2INCOMING" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPullRequestList --project "zcli" --repository "zcli-repo" --state direction "ALLoutgoing" --dateFormat "yyyy-MM-dd HH:mm:ss" --verbose
--action getPullRequestList --project "zcli" --repository "zcli-repo" --state regex "MERGEDNOT_FOUND" --dateFormat "yyyy-MM-dd HH:mm:ss"

getRepository

--action getRepository getPullRequestList --project "zcli" --repository "72zcli-repo" --action getRepository regex "pr2" --project dateFormat "zcli" yyyy--repository "zcli-repo updated"MM-dd HH:mm:ss"
--action getRepository getPullRequestList --project "zcli" --repository "zcli-repo" --state "ALL" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getRepository getPullRequestList --project "zcli" --repository "zcli2zcli-repo"

getRepositoryList

--action getRepositoryList state "MERGED" --project "zcli"dateFormat "yyyy-MM-dd HH:mm:ss"

getRepository

--action getRepositoryList getRepository --project "zcli" --regex repository "NOT_FOUND2062"

getRepositoryPermissionList

--action getRepositoryPermissionList getRepository --project "zcli" --repository "zcli-repo updated"
--action getRepositoryPermissionList getRepository --project "zcli" --repository "zcli-repo"
--regex "user1"
getReviewConditionList
action getRepository --project "zcli" --repository "zcli2-repo"

getRepositoryList

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

getServerInfo

--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mmcolumns "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 getServerInfo --outputFormat 999
--action getServerInfo --user "anonymous"
getSource
getRepositoryPermissionList --project "zcli" --repository "zcli-repo" --regex "user1"

getReviewConditionList

--action getSource getReviewConditionList --project "ExperimentZCLI" --repository options "acli" --path "license/LICENSE.txt"

getSshKeyList

tableNoWrap"
--action getSshKeyList getReviewConditionList --userId project "testuser1ZCLI" --action getSshKeyList --userId "testuser1outputType "text" --regex options "xxxtableNoWrap"

getUser

--action getUser getReviewConditionList --dateFormat project "ZCLI" yyyy -MM-ddrepository "zconditions" --action getUser --userId "testuser1"
--action getUser --userId "testuser3"
getUserList
outputType "text" --options "tableNoWrap"

getServerInfo

--action getUserList getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm"
--action getUserList getServerInfo --group "testgroup2"outputFormat 999
--action getUserList getServerInfo --group user "testgroup2" --regex "testuser3"
getWebhookList
anonymous"

getSource

--action getWebhookList getSource --project "ZCLIExperiment" --repository "zcli-repo"acli" --path "gradle/wrapper/gradle-wrapper.jar" --dateFormat "yyyy-mm-ddfile "build/output/source/gradle-wrapper.jar"
--action getWebhookList getSource --project "ZCLIExperiment" --repository "zcli-repoacli" --dateFormat "yyyy-mm-dd" --options postWebhooks
grantPermissions
path "license/LICENSE.txt"

getSshKeyList

--action grantPermissions --permission "ADMIN" getSshKeyList --userId "testuser1"
--action grantPermissions getSshKeyList --permission userId "PROJECT_CREATEtestuser1" --group regex "testgroup1xxx"
grantProjectPermissions

getUser

--action grantProjectPermissions getUser --project "zcli" --permission "PROJECT_ADMIN" dateFormat "yyyy-MM-dd"
--action getUser --userId "user1testuser1"
--action grantProjectPermissions getUser --project userId "zclitestuser3"

getUserList

--permission "PROJECT_READ" action getUserList --userId "user1,user2,user3dateFormat "yyyy-MM-dd"
--action grantProjectPermissions --project "zcli" --permission "PROJECT_WRITE" getUserList --group "group1testgroup2"
--action grantProjectPermissions getUserList --project group "zcli2testgroup2" --permission regex "PROJECT_ADMIN" --userId "user2"
grantRepositoryPermissions
testuser3"

getWebhookList

--action grantRepositoryPermissions getWebhookList --project "zcliZCLI" --repository "zcli-repo" --permission "REPO_ADMIN" --userId "user1"dateFormat "yyyy-mm-dd"
--action grantRepositoryPermissions getWebhookList --project "zcliZCLI" --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 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" --repository "zcli-repopermission "PROJECT_ADMIN" --pullRequest userId "pr2user1"
removeAccessToken
--action removeAccessToken grantProjectPermissions --project "zcli" --userId permission "adminPROJECT_READ" --name "702890530373"
removeBranch
userId "user1,user2,user3"
--action removeBranch grantProjectPermissions --project "zcli" --repository "zcli-repopermission "PROJECT_WRITE" --branch group "forRemovegroup1"
removeBranchRestriction
--action removeBranchRestriction grantProjectPermissions --project "zrestrictionszcli" --repository "zrestrictions-repo" --branch "master*permission "REPO_CREATE" --group "group1"
--action grantProjectPermissions --project "zcli2" --matchingType permission "PATTERNPROJECT_ADMIN" --continueuserId "user2"

grantRepositoryPermissions

--action removeBranchRestriction grantRepositoryPermissions --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --branch "master*permission "REPO_ADMIN" --matchingType userId "PATTERN" --restriction "@all" --continueuser1"
--action removeBranchRestriction grantRepositoryPermissions --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --id permission "123456789REPO_READ" --continueuserId "user1,user2,user3"
--action removeBranchRestriction grantRepositoryPermissions --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --permission "REPO_WRITE" --id group "99group1"

installApp

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

mergePullRequest

--action mergePullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --restriction "pull-request-only" --branch "master*pullRequest "pr2"

removeAccessToken

--action removeAccessToken --userId "admin" --matchingType name "PATTERN199224441470"
removeSshKey

removeBranchRestriction

--action removeSshKey removeBranchRestriction --id project "30zrestrictions"

removeSshKeys

--action removeSshKeys repository "zrestrictions-repo" --branch "master*" --userId matchingType "testuser1PATTERN" --continue
--action removeSshKeys removeBranchRestriction --project "zrestrictions" --userId repository "testuser2"

removeUserFromGroup

--action removeUserFromGroup --userId "testuser3zrestrictions-repo" --branch "master*" --matchingType "PATTERN" --group restriction "testgroup2"
removeWebhook
@all" --continue
--action removeWebhook removeBranchRestriction --project "ZCLIzrestrictions" --repository "zclizrestrictions-repo" --name id "zpostwebhooks1123456789" --options postWebhookscontinue
--action removeWebhook removeBranchRestriction --project "ZCLIzrestrictions" --repository "zclizrestrictions-repo" --name id "zwebhooks13205"
revokePermissions
--action revokePermissions removeBranchRestriction --userId "testuser1"

revokeProjectPermissions

--action revokeProjectPermissions --project "zcli" --userId "user1"
revokeRepositoryPermissions
project "zrestrictions" --repository "zrestrictions-repo" --restriction "pull-request-only" --branch "master*" --matchingType "PATTERN"

removeSshKey

--action revokeRepositoryPermissions removeSshKey --project id "zcli934"

removeSshKeys

--repository "zcli-repo" action removeSshKeys --userId "testuser1"
--action removeSshKeys --userId "user1testuser2"
run

removeUserFromGroup

--action run -i removeUserFromGroup --userId "testuser3" -a getApp --app @default-group "testgroup2"

removeWebhook

--action run -i removeWebhook --project "ZCLI" -a getServerInfo --outputFormat 2 repository "zcli-repo" --outputType textname " -i zpostwebhooks1" -a getReplacementVariableList --outputType text"-options postWebhooks
--action run removeWebhook --common project "--project ZCLI" --repository "zcli-repo" --input "-a enableHook --hook \"Verify Committer\"" --input "-a getHook --hook \"Verify Committer\"" --input "-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 ZCLIzcli" --input "-a enableHook --hook \"Verify Committer\"" getProject" --input "-a getHook grantProjectPermissions --hook \"Verify Committer\"permission repo_create" --input "-a getProject" --input "-a disableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hookgrantProjectPermissions --permission project_read" --input "-a getProject" --input "-a getHook grantProjectPermissions --hook \"Verify Committer\"permission project_write" --input "-a getProject" --input "-a enableHook getProjectList --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hookoutputFormat 999 --select defaultpermission:((PROJECT_WRITE)|(PROJECT_READ)) --columns key,defaultPermission --outputType text" --input "-a getHook --hook \"com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook\""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 updateBranchRestriction createRepository --id @restrictionId@ project ZCLI --group group1,group2" repository zconditions --input continue"
--a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --userId user1,user2" --input "-a getBranchRestriction --id @restrictionId@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 --continue --input "-a createRepository updateRepository --project ZCLI 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\"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 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
\" "

runFromGroupList

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

runFromHookList

--action runFromGroupList --limit 1 --common "-a getUserList --group @group@" --regex "testgroup2runFromHookList --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@\"@projectId@\"" --continue --regex "EXPERIMENT""" --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 "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb691db167a2f346d1adf0bcc08c628c92a749c994" --state "INPROGRESS" --key "myKey" --url "http://xxx"
--action setBuildStatus --id "1e735f6a3241aef68ed7fa28a8918d3f500c3dfb691db167a2f346d1adf0bcc08c628c92a749c994" --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" --pullRequest "pr2" --name "pr2xxx"
--action updatePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2xxx" --name "pr2"

updateRepository

--action updateRepository --project "zcli" --repository "zcli-repo updated" --name "zcli-repo"
--action updateRepository --project "zcli" --repository "zcli-repo" --name "zcli-repo updated"
--action updateRepository --project "zcli" --repository "zcli2-repo" --private --notForkable

updateReviewCondition

--action updateReviewCondition --project "ZCLI" --id "431378" --reviewers "user1"

updateUser

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

updateWebhook

--action updateWebhook --project "ZCLI" --repository "zcli-repo" --id "461365" --url "https://examplegear.com/acli2" --name "zpostwebhooks1updatedzwebhooks1updated" --events "prCommented,prUpdatedrepo:comment:added,repo:refs_changed" --options "disable" --options postWebhooks
--action updateWebhook --project "ZCLI" --repository "zcli-repo" --id "461803" --url "https://examplegear.com/acli2" --name "zwebhooks1updatedzpostwebhooks1updated" --events "repo:comment:added,repo:refs_changedprCommented,prUpdated" --options "disable" --options postWebhooks
--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