Versions Compared

Key

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

...

Actions

Action, Category, Description, Required parameters, Optional parameters, Output formats "[#addAgentAssignment] {anchor: addAgentAssignment}", "Agent Assignments", "Assign a project, plan, or job to a specific agent. This makes the agent is dedicated to only perform builds for all assignments. Use continue to ignore already exists error.", "[#agent], [#assignment]", "[#continue]", "[#addAgent] {anchor: addAgent}", "Agents", "Add a local agent.", "[#agent]", "[#description]", "[#addArtifactDependency] {anchor: addArtifactDependency}", "Artifacts", "Add an artifact dependency to a job. Artifact must be a shared artifact from another job.", "[#plan], [#job], [#artifact], [#location]", , "[#addArtifact] {anchor: addArtifact}", "Artifacts", "Add an artifact definition to a job. Server instances only.", "[#plan], [#job], [#artifact], [#copyPattern]", "[#location], [#shared]", "[#addComment] {anchor: addComment}", "Comments", "Add a comment to a build.", "[#build], [#comment]", "[#number], [#findReplace], [#findReplaceRegex], [#file], [#encoding]", "[#addJob] {anchor: addJob}", "Jobs", "Add a job to a stage.", "[#plan], [#stage], [#job]", "[#name], [#description], [#disable]", "[#addLabels] {anchor: addLabels}", "Labels", "Add a comma separated list of labels to a build.", "[#build], [#labels]", "[#number]", "[#addNotification] {anchor: addNotification}", "Notifications", "Add a plan notification. There are 2 parts to a notification - an event that triggers the notification and a recipient type that determines the notification protocol. There are built-in notifications and others provided by add-ons. A recipient type may have additional parameters. Generally, these can be specified by the field and values parameters. In some cases, pre-defined parameters are available.", "[#plan], [#event], [#recipientType]", "[#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#addRepository] {anchor: addRepository}", "Repositories", "Add a global or plan repository. For a plan repository, you can reference a linked (global) repository. Otherwise a valid repository key or alias is required. Valid aliases are: BITBUCKET, BITBUCKET_CLOUD, BITBUCKET_SERVER, STASH, BCVS, GIT, GITHUB, MERCURIAL, PERFORCE, SUBVERSION", "[#repository] or [#name]", "[#plan], [#repositoryKey], [#replace], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#addRequirement] {anchor: addRequirement}", "Requirements", "Add requirement to a plan job.", "[#plan], [#job], [#requirement]", "[#type], [#value]", "[#addStage] {anchor: addStage}", "Stages", "Add a stage to a plan.", "[#plan], [#stage]", "[#description], [#manual]", "[#addTask] {anchor: addTask}", "Tasks", "Add a task to a plan job. A valid task key or alias is required. Valid aliases are: ANT, ARTIFACT_DOWNLOAD, CHECKOUT, CLI_BAMBOO, CLI_BITBUCKET, CLI_CONFLUENCE, CLI_CRUCIBLE, CLI_FISHEYE, CLI_HIPCHAT, CLI_JIRA, CLI_SERVICE_DESK, CLI_UPM, GANT, GINT, GRADLE, GRADLEW, GROOVY, MAVEN2, MAVEN3, SCP, SQL, SCRIPT, SSH, VARIABLE_REPLACE", "[#plan], [#job], [#taskKey]", "[#disable], [#final], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#addTrigger] {anchor: addTrigger}", "Triggers", "Add a trigger to a plan. Pre-defined types are: polling, remote, scheduled. One or more repositories can be specified for pre-defined type triggers based on repositories. Custom types can be specified with the appropriate trigger key (or alias) and all required parameters using the various field parameters. Alias types are: stashTrigger.", "[#plan], [#name], [#type]", "[#repository], [#schedule], [#ipRestriction], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#addVariables] {anchor: addVariables}", "Variables", "Add global or plan variables. Defaults to global variables unless a plan is specified. Use the field parameters for the variable name and the corresponding value parameters for the variable values,", , "[#plan], [#replace] [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#clonePlan] {anchor: clonePlan}", "Plans", "Clone a plan.", "[#plan], [#toPlan], [#name]", "[#description], [#projectName], [#disable]", "[#cloneProject] {anchor: cloneProject}", "Projects", "Clone each plan in a project to another project. If toProject is not provided, the plans will be cloned to the same project. If the toProject does not exist, it will be created with name provided by projectName.", "[#project], [#toProject], [#projectName], [#disable]", , "[#createOrUpdatePlan] {anchor: createOrUpdatePlan}", "Plans", "Same as createPlan when plan does not exist. However, it will update an existing plan's name and description. Server instances only.", "[#plan]", "[#name], [#projectName], [#description], [#disable]", "[#createPlan] {anchor: createPlan}", "Plans", "Create a new plan. Provide a 2-part plan key where the first part is the project key. If the project key does not exist, it will be created with the provided project name. Server instances only. Use continue to ignore the request if the plan already exists.", "[#plan]", "[#name], [#projectName], [#description], [#disable], [#continue]", "[#deletePlan] {anchor: deletePlan}", "Plans", "Delete a plan.", "[#plan]", , "[#deleteProject] {anchor: deleteProject}", "Projects", "Delete project and all project plans.", "[#project]", "[#file]", "[#disableAgent] {anchor: disableAgent}", "Agents", "Disable an agent.", "[#agent]", , "[#disableJob] {anchor: disableJob}", "Jobs", "Disable a job from running.", "[#plan], [#job]", , "[#disablePlan] {anchor: disablePlan}", "Plans", "Disable a plan from running.", "[#plan]", , "[#disableProject] {anchor: disableProject}", "Projects", "Disable all project plans.", "[#project]", , "[#enableAgent] {anchor: enableAgent}", "Agents", "Enable an agent.", "[#agent]", , "[#enableJob] {anchor: enableJob}", "Jobs", "Enable a job to run.", "[#plan], [#job]", , "[#enablePlan] {anchor: enablePlan}", "Plans", "Enable a plan to run.", "[#plan]", , "[#enableProject] {anchor: enableProject}", "Projects", "Enable all project plans.", "[#project]", , "[#getAgentList] {anchor: getAgentList}", "Agents", "Get a list of agents based on regex filtering of agent names..", , "[#regex], [#file], [#append], [#encoding], [#columns]", "1 - basic\\ 2 - detail" "[#getArtifactDefinitionList] {anchor: getArtifactDefinitionList}", "Artifacts", "Experimental - only those available to be artifact dependencies in the last job! Get a list of shared artifact definitions for a plan with regex filtering on artifact name.", "[#plan]", "[#limit], [#regex], [#columns], [#file], [#append], [#encoding]", "[#getArtifactList] {anchor: getArtifactList}", "Artifacts", "Get a list of build result artifacts. When the build does not include a job portion, only shared artifacts are provided. Use @all for the job parameter to get both sharted and non-shared artifacts for all plan jobs.", "[#plan] or [#build]", "[#job], [#number], [#limit], [#regex], [#file], [#append], [#encoding]", "[#getArtifact] {anchor: getArtifact}", "Artifacts", "Download a copy of a build artifact into a file.", "Uses same parameters and logic as getArtifactList for identifying [#build] result artifacts to search. For artifacts that represent a directory (not a file), use the [#artifact] [#name] plus the path to the [#file] in the artifact.", "[#plan] or [#build], [#artifact], [#file]", "job\\ number\\ replace\\ encoding" "[#getBuildList] {anchor: getBuildList}", "Builds", "Get a list of build reults. Build results can be filtered by using fields and values. Supported fields are state, notState, and started. For example, include only successful results by using: --field1 state --value SUCCESSFUL, or include only builds started after a specific date use: --field2 started --value2 2016-04-30 --dateFormat yyyy-MM-dd. Default limit is 25.", "[#plan]", "[#limit], [#favorite], [#labels], [#issues], [#columns], [#file], [#append], [#encoding], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "1 - basic\\ 2 - test information" "[#getBuildQueueList] {anchor: getBuildQueueList}", "Builds", "Get a list of builds waiting in the build queue. Subset by project or build.", , "[#project], [#build], [#file], [#append], [#encoding], [#columns]", "[#getBuild] {anchor: getBuild}", "Builds", "Get build result.", "[#build]", "[#number], [#expand], [#file]", "[#getClientInfo] {anchor: getClientInfo}", "Info", "Get information about the this client tool.", , "[#outputFormat], [#file], [#append], [#encoding]", "1 - basic\\ 2 - JVM" "[#getCommentList] {anchor: getCommentList}", "Comments", "Get a list of comments for a build.", "[#build]", "[#number], [#file], [#append], [#encoding], [#columns]", "[#getJobList] {anchor: getJobList}", "Jobs", "Get a list of jobs for a plan with regex filtering on job key or name. Subset by stage if desired.", "[#plan]", "[#stage], [#regex], [#file], [#attribute], [#columns]", "[#getLabelList] {anchor: getLabelList}", "Labels", "Get a list of labels for a build.", "[#build]", "[#number], [#file], [#append], [#encoding], [#columns]", "[#getLatestBuildNumber] {anchor: getLatestBuildNumber}", "Builds", "Get the number of the last completed build for this plan.", "[#plan]", , "[#getNotificationList] {anchor: getNotificationList}", "Notifications", "EAP (subject to change). Get a list of plan notifications.", , "[#plan], [#file], [#append], [#encoding]", "[#getPlanList] {anchor: getPlanList}", "Plans", "Get a list of plans for a project with regex filtering on plan key or name. Use @all for project to get a list of plans across all projects.", "[#project]", "[#favorite], [#excludeDisabled], [#excludeEnabled], [#limit], [#regex], [#outputFormat], [#dateFormat], [#columns], [#file], [#append], [#encoding]", "1 - plan\\ 999 - last build results" "[#getPlan] {anchor: getPlan}", "Plans", "Get plan information.", "[#plan]", , "[#getProjectList] {anchor: getProjectList}", "Projects", "Get a list of projects. Projects are selected based on regex filtering on project key or name.", , "[#regex], [#file], [#append], [#encoding], [#columns]", "[#getRepositoryList] {anchor: getRepositoryList}", "Repositories", "Get a list of global or plan repositories with regex filtering on repository name.", , "[#plan], [#regex], [#file], [#append], [#encoding]", "[#getRepository] {anchor: getRepository}", "Repositories", "Get details of a global or plan repository. Sets the repository and repositoryId replacement variables.", "[#repository]", "[#plan]", "[#getServerInfo] {anchor: getServerInfo}", "Info", "Get information about the Bamboo server.", , "[#outputFormat], [#dateFormat], [#file], [#append], [#encoding]", "1 - basic\\ 2 - detail\\ 3 - state" "[#getStageList] {anchor: getStageList}", "Stages", "Get a list of stages for a plan with regex filtering on stage name.", "[#plan]", "[#regex], [#file], [#attribute], [#columns]", "[#getTaskList] {anchor: getTaskList}", "Tasks", "Get a list of tasks for a job with regex filtering on task name.", "[#plan], [#job]", "[#limit], [#regex], [#file], [#columns]", "[#getVariableList] {anchor: getVariableList}", "Variables", "Get a list of global or plan variables based on regex filtering of variable names.", , "[#plan], [#regex], [#file], [#append], [#encoding]", "[#moveTask] {anchor: moveTask}", "Tasks", "Move a task to before or after another task. Use final to make a task final. Final tasks must follow all non final tasks. If neither before or after are specified, the task will be moved to the last position respecting the final parameter.", "[#plan], [#job], [#id]", "[#after] or [#before], [#final]", "[#orderRepository] {anchor: orderRepository}", "Repositories", "Order repository in the list of repositories for a plan. Defaults to move the repository to the top to make it the default repository. Otherwise specify the after respository name.", "[#plan], [#repository]", "[#after]", "[#queueBuildFromList] {anchor: queueBuildFromList}", "Builds", "Queue multiple builds to run and wait for results. The action will not complete until all queued builds complete or times out. If continue is specified, builds will continue to be queued even after an attempt to queue a build fails. The action will fail if any build fails or times out. Conditional queueing is supported - see the documentation for details.", "[#project] or [#list]", "[#regex], [#limit], [#continue], [#timeout], [#dateFormat], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#queueBuild] {anchor: queueBuild}", "Builds", "Queue a build to run. If wait is specified, the action will not complete until the queued build completes or the timeout period elapses. The action will fail if the build fails unless continue parameter is used to ignore a failed result. A specific revision can be built if the revision parameter is specified. Plan variables can be set using the field and value parameters. Conditional queueing is supported - see the documentation for details.", "[#plan]", "[#revision], [#wait], [#continue], [#timeout], [#dateFormat], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#removeAgentAssignment] {anchor: removeAgentAssignment}", "Agent Assignments", "Remove an assignment from a specific agent. Use continue to ignore not found error.", "[#agent], [#assignment]", "[#continue]", "[#removeAgent] {anchor: removeAgent}", "Agents", "Remove an agent.", "[#agent]", , "[#removeArtifact] {anchor: removeArtifact}", "Artifacts", "Remove an artifact definition from a job. Server instances only.", "[#plan], [#job], [#artifact]", , "[#removeLabels] {anchor: removeLabels}", "Labels", "Remove labels from a build. Labels can be a comma separated list or regex. Either build or search terms (searchLabels, issues) must be provided", "[#labels]", "[#build], [#number], [#searchLabels], [#issues], [#favorite]", "[#removeNotification] {anchor: removeNotification}", "Notifications", "Remove a plan notification. Use id of -1 to remove all notifications for a plan.", "[#plan], [#id]", , "[#removeRepository] {anchor: removeRepository}", "Repositories", "Remove global or plan repository. Use @all to remove all repositories.", "[#repository] or [#id]", "[#plan], [#continue]", "[#removeRequirement] {anchor: removeRequirement}", "Requirements", "Remove a plan requirement.", "[#plan], [#job], [#id]", , "[#removeStage] {anchor: removeStage}", "Stages", "Remove a stage from a plan. Use id = -1 to remove all stages. Use continue to ignore not found errors.", "[#plan], [#stage] or [#id]", "[#continue]", "[#removeTask] {anchor: removeTask}", "Tasks", "Remove a task from a plan job. Use id = -1 to remove all tasks.", "[#plan], [#job], [#id]", , "[#removeTrigger] {anchor: removeTrigger}", "Triggers", "Remove a trigger from a plan. Use id = -1 to remove all triggers. Server instances only.", "[#plan], [#id]", , "[#removeVariables] {anchor: removeVariables}", "Variables", "Remove global or plan variables. Specify the variable names using the field parameters.", , "[#plan], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#renderRequest] {anchor: renderRequest}", "Render", "Render url based request. The response data modified by findReplace processing is returned.", "[#request]", "[#requestParameters], [#requestType], [#type], [#acceptType], [#build], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#restartBuild] {anchor: restartBuild}", "Builds", "Restart a build that failed or was stopped. Use continue to ignore errors finding a build to restart or failed results.", "[#plan]", "[#wait], [#timeout], [#continue]", "[#runFromAgentList] {anchor: runFromAgentList}", "Agents", "Run actions for each agent with regex filtering on agent name. Available replacement variables are agent and agentId.", , "[#regex], [#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromCsv] {anchor: runFromCsv}", "CSV", "Run actions generated from a CSV file.", "[#file]", "[#common], [#propertyFile], [#continue], [#quiet], [#simulate], [#clearFileBeforeAppend], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromJobList] {anchor: runFromJobList}", "Jobs", "Run actions for each job with regex filtering on job key or name. Restrict to a specific stage or leave stage blank to get jobs across all stages. Available replacement variables are project, projectName, plan, planName, stageId, stageName, job, and jobName.", "[#plan]", "[#stage], [#regex], [#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromList] {anchor: runFromList}", "Run", "Run actions for each entry in a list. When file is provided, each action in the file augmented by the common parameter will be run for each entry. Otherwise, just the action specified by the common parameter will be run. Available replacement variables are entry, entry2.", "[#list]", "[#list2], [#file], [#common], [#continue], [#quiet], [#simulate], [#clearFileBeforeAppend], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromPlanList] {anchor: runFromPlanList}", "Plans", "Run actions for each plan with regex filtering on plan key or name. Use @all for project to get a list of plans across all projects. Available replacement variables are project, projectName, plan, and planName.", "[#project]", "[#favorite], [#excludeDisabled], [#excludeEnabled], [#regex], [#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromProjectList] {anchor: runFromProjectList}", "Projects", "Run actions for each project with regex filtering on project key or name. Available replacement variables are project and projectName.", , "[#regex], [#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromRepositoryList] {anchor: runFromRepositoryList}", "Repositories", "Run actions for each repository with regex filtering on repository name. Available replacement variables are repository and repositoryId.", , "[#plan], [#regex], [#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromSql] {anchor: runFromSql}", "Run", "Run actions generated by SQL provided by the sql parameter, a file, or standard input", "[#sql] or [#file] or standard input", "[#common], [#driver], [#database], [#host], [#port], [#url], [#dbUser], [#dbPassword], [#propertyFile], [#continue], [#simulate], [#clearFileBeforeAppend], [#encoding], [#findReplace], [#findReplaceRegex]", "[#runFromStageList] {anchor: runFromStageList}", "Stages", "Run actions for each stage with regex filtering on stage name. Available replacement variables are project, projectName, plan, planName, stageId, and stageName.", "[#plan]", "[#stage], [#regex], [#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#file], [#encoding], [#findReplace], [#findReplaceRegex]", "[#run] {anchor: run}", "Run", "Run actions from a file or standard input.", "[#file] or standard input", "[#common], [#continue], [#simulate], [#clearFileBeforeAppend], [#encoding], [#findReplace], [#findReplaceRegex]", "[#setDependencyOptions] {anchor: setDependencyOptions}", , "Set child dependencies and other related options.", "[#plan]", "children, [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#setFavoritePlan] {anchor: setFavoritePlan}", "Plans", "Set the plan as a favorite.", "[#plan]", , "[#setJobOptions] {anchor: setJobOptions}", "Jobs", "Set miscellaneous option for a job. The following options are specifically supported: clean working directory after job completes (cleanAfter switch) and pattern matching labeling (regex and labels parameters). Use the field and value parameters for additional settings with values determined from the screen. Some previous settings may be lost if not specifically requested.", "[#plan], [#job]", "[#cleanAfter], [#regex], [#labels]", "[#stopBuild] {anchor: stopBuild}", "Builds", "Request to stop a queued or running build. Use continue to ignore errors finding a build to stop or failed results. The wait parameter will cause processing to wait for completion or timeout before returning.", "[#plan]", "[#wait], [#timeout], [#continue]", "[#unsetFavoritePlan] {anchor: unsetFavoritePlan}", "Plans", "Remove the plan from the favorite list.", "[#plan]", , "[#updatePlan] {anchor: updatePlan}", "Plans", "Update a plans name or description. Provide a 2-part plan key where the first part is the project key.", "[#plan]", "[#name], [#description]", "[#updateRepository] {anchor: updateRepository}", "Repositories", "Update a global or plan repository.", "[#repository] or [#id]", "[#plan], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#updateRequirement] {anchor: updateRequirement}", "Requirements", "Update a plan requirement.", "[#plan], [#job], [#id]", "[#type], [#value]", "[#updateTask] {anchor: updateTask}", "Tasks", "Update a task in a plan job. You must provide the same parameters as if you were creating the task.", "[#plan], [#job], [#id]", "[#enable], [#disable], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#updateVariables] {anchor: updateVariables}", "Variables", "Update existing global or plan variables. Defaults to global variables unless a plan is specified. Use the field parameters for the variable name and the corresponding value parameters for the variable values,", , "[#plan], [#fields], [#field1], [#value1], [#field2], [#value2], [#field3], [#value3], [#field4], [#value4], [#field5], [#value5], [#field6], [#value6], [#field7], [#value7], [#field8], [#value8]", "[#validateLicense] {anchor: validateLicense}", "Misc", "Validates the CLI Connector is enabled and licensed on the server.", , , "[#verifyBuild] {anchor: verifyBuild}", "Builds", "Verify build was successful.", "[#build]", "[#number]",
P

csv

Action

outputwiki
sortColumn1
autoNumbertrue
sortIconfalse

Category

Description

Required parameters

Optional parameters

Output formats

1

addAgentAssignment

Anchor
addAgentAssignment
addAgentAssignment

Agent Assignments

Assign a project, plan, or job to a specific agent. This makes the agent is dedicated to only perform builds for all assignments. Use continue to ignore already exists error.

agent, assignment

continue

 

2

addAgent

Anchor
addAgent
addAgent

Agents

Add a local agent.

agent

description

 

3

addArtifactDependency

Anchor
addArtifactDependency
addArtifactDependency

Artifacts

Add an artifact dependency to a job. Artifact must be a shared artifact from another job.

plan, job, artifact, location

 

 

4

addArtifact

Anchor
addArtifact
addArtifact

Artifacts

Add an artifact definition to a job. Server instances only.

plan, job, artifact, copyPattern

location, shared

 

5

addComment

Anchor
addComment
addComment

Comments

Add a comment to a build.

build, comment

number, findReplace, findReplaceRegex, file, encoding

 

6

addJob

Anchor
addJob
addJob

Jobs

Add a job to a stage.

plan, stage, job

name, description, disable

 

7

addLabels

Anchor
addLabels
addLabels

Labels

Add a comma separated list of labels to a build.

build, labels

number

 

8

addNotification

Anchor
addNotification
addNotification

Notifications

Add a plan notification. There are 2 parts to a notification - an event that triggers the notification and a recipient type that determines the notification protocol. There are built-in notifications and others provided by add-ons. A recipient type may have additional parameters. Generally, these can be specified by the field and values parameters. In some cases, pre-defined parameters are available.

plan, event, recipientType

fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

9

addRepository

Anchor
addRepository
addRepository

Repositories

Add a global or plan repository. For a plan repository, you can reference a linked (global) repository. Otherwise a valid repository key or alias is required. Valid aliases are: BITBUCKET, BITBUCKET_CLOUD, BITBUCKET_SERVER, STASH, BCVS, GIT, GITHUB, MERCURIAL, PERFORCE, SUBVERSION

repository or name

plan, repositoryKey, replace, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

10

addRequirement

Anchor
addRequirement
addRequirement

Requirements

Add requirement to a plan job.

plan, job, requirement

type, value

 

11

addStage

Anchor
addStage
addStage

Stages

Add a stage to a plan.

plan, stage

description, manual

 

12

addTask

Anchor
addTask
addTask

Tasks

Add a task to a plan job. A valid task key or alias is required. Valid aliases are: ANT, ARTIFACT_DOWNLOAD, CHECKOUT, CLI_BAMBOO, CLI_BITBUCKET, CLI_CONFLUENCE, CLI_CRUCIBLE, CLI_FISHEYE, CLI_HIPCHAT, CLI_JIRA, CLI_SERVICE_DESK, CLI_UPM, GANT, GINT, GRADLE, GRADLEW, GROOVY, MAVEN2, MAVEN3, SCP, SQL, SCRIPT, SSH, VARIABLE_REPLACE

plan, job, taskKey

disable, final, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

13

addTrigger

Anchor
addTrigger
addTrigger

Triggers

Add a trigger to a plan. Pre-defined types are: polling, remote, scheduled. One or more repositories can be specified for pre-defined type triggers based on repositories. Custom types can be specified with the appropriate trigger key (or alias) and all required parameters using the various field parameters. Alias types are: stashTrigger.

plan, name, type

repository, schedule, ipRestriction, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

14

addVariables

Anchor
addVariables
addVariables

Variables

Add global or plan variables. Defaults to global variables unless a plan is specified. Use the field parameters for the variable name and the corresponding value parameters for the variable values,

 

plan, replace fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

15

clonePlan

Anchor
clonePlan
clonePlan

Plans

Clone a plan.

plan, toPlan, name

description, projectName, disable

 

16

cloneProject

Anchor
cloneProject
cloneProject

Projects

Clone each plan in a project to another project. If toProject is not provided, the plans will be cloned to the same project. If the toProject does not exist, it will be created with name provided by projectName.

project, toProject, projectName, disable

 

 

17

createOrUpdatePlan

Anchor
createOrUpdatePlan
createOrUpdatePlan

Plans

Same as createPlan when plan does not exist. However, it will update an existing plan's name and description. Server instances only.

plan

name, projectName, description, disable

 

18

createPlan

Anchor
createPlan
createPlan

Plans

Create a new plan. Provide a 2-part plan key where the first part is the project key. If the project key does not exist, it will be created with the provided project name. Server instances only. Use continue to ignore the request if the plan already exists.

plan

name, projectName, description, disable, continue

 

19

deletePlan

Anchor
deletePlan
deletePlan

Plans

Delete a plan.

plan

 

 

20

deleteProject

Anchor
deleteProject
deleteProject

Projects

Delete project and all project plans.

project

file

 

21

disableAgent

Anchor
disableAgent
disableAgent

Agents

Disable an agent.

agent

 

 

22

disableJob

Anchor
disableJob
disableJob

Jobs

Disable a job from running.

plan, job

 

 

23

disablePlan

Anchor
disablePlan
disablePlan

Plans

Disable a plan from running.

plan

 

 

24

disableProject

Anchor
disableProject
disableProject

Projects

Disable all project plans.

project

 

 

25

enableAgent

Anchor
enableAgent
enableAgent

Agents

Enable an agent.

agent

 

 

26

enableJob

Anchor
enableJob
enableJob

Jobs

Enable a job to run.

plan, job

 

 

27

enablePlan

Anchor
enablePlan
enablePlan

Plans

Enable a plan to run.

plan

 

 

28

enableProject

Anchor
enableProject
enableProject

Projects

Enable all project plans.

project

 

 

29

getAgentList

Anchor
getAgentList
getAgentList

Agents

Get a list of agents based on regex filtering of agent names..

 

regex, file, append, encoding, columns

1 - basic
2 - detail

30

getArtifactDefinitionList

Anchor
getArtifactDefinitionList
getArtifactDefinitionList

Artifacts

Experimental - only those available to be artifact dependencies in the last job! Get a list of shared artifact definitions for a plan with regex filtering on artifact name.

plan

limit, regex, columns, file, append, encoding

 

31

getArtifactList

Anchor
getArtifactList
getArtifactList

Artifacts

Get a list of build result artifacts. When the build does not include a job portion, only shared artifacts are provided. Use @all for the job parameter to get both sharted and non-shared artifacts for all plan jobs.

plan or build

job, number, limit, regex, file, append, encoding

 

32

getArtifact

Anchor
getArtifact
getArtifact

Artifacts

Download a copy of a build artifact into a file.

Uses same parameters and logic as getArtifactList for identifying build result artifacts to search. For artifacts that represent a directory (not a file), use the artifact name plus the path to the file in the artifact.

plan or build, artifact, file

job
number
replace
encoding

33

getBuildList

Anchor
getBuildList
getBuildList

Builds

Get a list of build reults. Build results can be filtered by using fields and values. Supported fields are state, notState, and started. For example, include only successful results by using: --field1 state --value SUCCESSFUL, or include only builds started after a specific date use: --field2 started --value2 2016-04-30 --dateFormat yyyy-MM-dd. Default limit is 25.

plan

limit, favorite, labels, issues, columns, file, append, encoding, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

1 - basic
2 - test information

34

getBuildQueueList

Anchor
getBuildQueueList
getBuildQueueList

Builds

Get a list of builds waiting in the build queue. Subset by project or build.

 

project, build, file, append, encoding, columns

 

35

getBuild

Anchor
getBuild
getBuild

Builds

Get build result.

build

number, expand, file

 

36

getClientInfo

Anchor
getClientInfo
getClientInfo

Info

Get information about the this client tool.

 

outputFormat, file, append, encoding

1 - basic
2 - JVM

37

getCommentList

Anchor
getCommentList
getCommentList

Comments

Get a list of comments for a build.

build

number, file, append, encoding, columns

 

38

getJobList

Anchor
getJobList
getJobList

Jobs

Get a list of jobs for a plan with regex filtering on job key or name. Subset by stage if desired.

plan

stage, regex, file, attribute, columns

 

39

getLabelList

Anchor
getLabelList
getLabelList

Labels

Get a list of labels for a build.

build

number, file, append, encoding, columns

 

40

getLatestBuildNumber

Anchor
getLatestBuildNumber
getLatestBuildNumber

Builds

Get the number of the last completed build for this plan.

plan

 

 

41

getNotificationList

Anchor
getNotificationList
getNotificationList

Notifications

EAP (subject to change). Get a list of plan notifications.

 

plan, file, append, encoding

 

42

getPlanList

Anchor
getPlanList
getPlanList

Plans

Get a list of plans for a project with regex filtering on plan key or name. Use @all for project to get a list of plans across all projects.

project

favorite, excludeDisabled, excludeEnabled, limit, regex, outputFormat, dateFormat, columns, file, append, encoding

1 - plan
999 - last build results

43

getPlan

Anchor
getPlan
getPlan

Plans

Get plan information.

plan

 

 

44

getProjectList

Anchor
getProjectList
getProjectList

Projects

Get a list of projects. Projects are selected based on regex filtering on project key or name.

 

regex, file, append, encoding, columns

 

45

getRepositoryList

Anchor
getRepositoryList
getRepositoryList

Repositories

Get a list of global or plan repositories with regex filtering on repository name.

 

plan, regex, file, append, encoding

 

46

getRepository

Anchor
getRepository
getRepository

Repositories

Get details of a global or plan repository. Sets the repository and repositoryId replacement variables.

repository

plan

 

47

getServerInfo

Anchor
getServerInfo
getServerInfo

Info

Get information about the Bamboo server.

 

outputFormat, dateFormat, file, append, encoding

1 - basic
2 - detail
3 - state

48

getStageList

Anchor
getStageList
getStageList

Stages

Get a list of stages for a plan with regex filtering on stage name.

plan

regex, file, attribute, columns

 

49

getTaskList

Anchor
getTaskList
getTaskList

Tasks

Get a list of tasks for a job with regex filtering on task name.

plan, job

limit, regex, file, columns

 

50

getVariableList

Anchor
getVariableList
getVariableList

Variables

Get a list of global or plan variables based on regex filtering of variable names.

 

plan, regex, file, append, encoding

 

51

moveTask

Anchor
moveTask
moveTask

Tasks

Move a task to before or after another task. Use final to make a task final. Final tasks must follow all non final tasks. If neither before or after are specified, the task will be moved to the last position respecting the final parameter.

plan, job, id

after or before, final

 

52

orderRepository

Anchor
orderRepository
orderRepository

Repositories

Order repository in the list of repositories for a plan. Defaults to move the repository to the top to make it the default repository. Otherwise specify the after respository name.

plan, repository

after

 

53

queueBuildFromList

Anchor
queueBuildFromList
queueBuildFromList

Builds

Queue multiple builds to run and wait for results. The action will not complete until all queued builds complete or times out. If continue is specified, builds will continue to be queued even after an attempt to queue a build fails. The action will fail if any build fails or times out. Conditional queueing is supported - see the documentation for details.

project or list

regex, limit, continue, timeout, dateFormat, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

54

queueBuild

Anchor
queueBuild
queueBuild

Builds

Queue a build to run. If wait is specified, the action will not complete until the queued build completes or the timeout period elapses. The action will fail if the build fails unless continue parameter is used to ignore a failed result. A specific revision can be built if the revision parameter is specified. Plan variables can be set using the field and value parameters. Conditional queueing is supported - see the documentation for details.

plan

revision, wait, continue, timeout, dateFormat, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

55

removeAgentAssignment

Anchor
removeAgentAssignment
removeAgentAssignment

Agent Assignments

Remove an assignment from a specific agent. Use continue to ignore not found error.

agent, assignment

continue

 

56

removeAgent

Anchor
removeAgent
removeAgent

Agents

Remove an agent.

agent

 

 

57

removeArtifact

Anchor
removeArtifact
removeArtifact

Artifacts

Remove an artifact definition from a job. Server instances only.

plan, job, artifact

 

 

58

removeLabels

Anchor
removeLabels
removeLabels

Labels

Remove labels from a build. Labels can be a comma separated list or regex. Either build or search terms (searchLabels, issues) must be provided

labels

build, number, searchLabels, issues, favorite

 

59

removeNotification

Anchor
removeNotification
removeNotification

Notifications

Remove a plan notification. Use id of -1 to remove all notifications for a plan.

plan, id

 

 

60

removeRepository

Anchor
removeRepository
removeRepository

Repositories

Remove global or plan repository. Use @all to remove all repositories.

repository or id

plan, continue

 

61

removeRequirement

Anchor
removeRequirement
removeRequirement

Requirements

Remove a plan requirement.

plan, job, id

 

 

62

removeStage

Anchor
removeStage
removeStage

Stages

Remove a stage from a plan. Use id = -1 to remove all stages. Use continue to ignore not found errors.

plan, stage or id

continue

 

63

removeTask

Anchor
removeTask
removeTask

Tasks

Remove a task from a plan job. Use id = -1 to remove all tasks.

plan, job, id

 

 

64

removeTrigger

Anchor
removeTrigger
removeTrigger

Triggers

Remove a trigger from a plan. Use id = -1 to remove all triggers. Server instances only.

plan, id

 

 

65

removeVariables

Anchor
removeVariables
removeVariables

Variables

Remove global or plan variables. Specify the variable names using the field parameters.

 

plan, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

66

renderRequest

Anchor
renderRequest
renderRequest

Render

Render url based request. The response data modified by findReplace processing is returned.

request

requestParameters, requestType, type, acceptType, build, file, encoding, findReplace, findReplaceRegex

 

67

restartBuild

Anchor
restartBuild
restartBuild

Builds

Restart a build that failed or was stopped. Use continue to ignore errors finding a build to restart or failed results.

plan

wait, timeout, continue

 

68

runFromAgentList

Anchor
runFromAgentList
runFromAgentList

Agents

Run actions for each agent with regex filtering on agent name. Available replacement variables are agent and agentId.

 

regex, common, continue, simulate, clearFileBeforeAppend, file, encoding, findReplace, findReplaceRegex

 

69

runFromCsv

Anchor
runFromCsv
runFromCsv

CSV

Run actions generated from a CSV file.

file

common, propertyFile, continue, quiet, simulate, clearFileBeforeAppend, encoding, findReplace, findReplaceRegex

 

70

runFromJobList

Anchor
runFromJobList
runFromJobList

Jobs

Run actions for each job with regex filtering on job key or name. Restrict to a specific stage or leave stage blank to get jobs across all stages. Available replacement variables are project, projectName, plan, planName, stageId, stageName, job, and jobName.

plan

stage, regex, common, continue, simulate, clearFileBeforeAppend, file, encoding, findReplace, findReplaceRegex

 

71

runFromList

Anchor
runFromList
runFromList

Run

Run actions for each entry in a list. When file is provided, each action in the file augmented by the common parameter will be run for each entry. Otherwise, just the action specified by the common parameter will be run. Available replacement variables are entry, entry2.

list

list2, file, common, continue, quiet, simulate, clearFileBeforeAppend, encoding, findReplace, findReplaceRegex

 

72

runFromPlanList

Anchor
runFromPlanList
runFromPlanList

Plans

Run actions for each plan with regex filtering on plan key or name. Use @all for project to get a list of plans across all projects. Available replacement variables are project, projectName, plan, and planName.

project

favorite, excludeDisabled, excludeEnabled, regex, common, continue, simulate, clearFileBeforeAppend, file, encoding, findReplace, findReplaceRegex

 

73

runFromProjectList

Anchor
runFromProjectList
runFromProjectList

Projects

Run actions for each project with regex filtering on project key or name. Available replacement variables are project and projectName.

 

regex, common, continue, simulate, clearFileBeforeAppend, file, encoding, findReplace, findReplaceRegex

 

74

runFromRepositoryList

Anchor
runFromRepositoryList
runFromRepositoryList

Repositories

Run actions for each repository with regex filtering on repository name. Available replacement variables are repository and repositoryId.

 

plan, regex, common, continue, simulate, clearFileBeforeAppend, file, encoding, findReplace, findReplaceRegex

 

75

runFromSql

Anchor
runFromSql
runFromSql

Run

Run actions generated by SQL provided by the sql parameter, a file, or standard input

sql or file or standard input

common, driver, database, host, port, url, dbUser, dbPassword, propertyFile, continue, simulate, clearFileBeforeAppend, encoding, findReplace, findReplaceRegex

 

76

runFromStageList

Anchor
runFromStageList
runFromStageList

Stages

Run actions for each stage with regex filtering on stage name. Available replacement variables are project, projectName, plan, planName, stageId, and stageName.

plan

stage, regex, common, continue, simulate, clearFileBeforeAppend, file, encoding, findReplace, findReplaceRegex

 

77

run

Anchor
run
run

Run

Run actions from a file or standard input.

file or standard input

common, continue, simulate, clearFileBeforeAppend, encoding, findReplace, findReplaceRegex

 

78

setDependencyOptions

Anchor
setDependencyOptions
setDependencyOptions

 

Set child dependencies and other related options.

plan

children, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

79

setFavoritePlan

Anchor
setFavoritePlan
setFavoritePlan

Plans

Set the plan as a favorite.

plan

 

 

80

setJobOptions

Anchor
setJobOptions
setJobOptions

Jobs

Set miscellaneous option for a job. The following options are specifically supported: clean working directory after job completes (cleanAfter switch) and pattern matching labeling (regex and labels parameters). Use the field and value parameters for additional settings with values determined from the screen. Some previous settings may be lost if not specifically requested.

plan, job

cleanAfter, regex, labels

 

81

stopBuild

Anchor
stopBuild
stopBuild

Builds

Request to stop a queued or running build. Use continue to ignore errors finding a build to stop or failed results. The wait parameter will cause processing to wait for completion or timeout before returning.

plan

wait, timeout, continue

 

82

unsetFavoritePlan

Anchor
unsetFavoritePlan
unsetFavoritePlan

Plans

Remove the plan from the favorite list.

plan

 

 

83

updatePlan

Anchor
updatePlan
updatePlan

Plans

Update a plans name or description. Provide a 2-part plan key where the first part is the project key.

plan

name, description

 

84

updateRepository

Anchor
updateRepository
updateRepository

Repositories

Update a global or plan repository.

repository or id

plan, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

85

updateRequirement

Anchor
updateRequirement
updateRequirement

Requirements

Update a plan requirement.

plan, job, id

type, value

 

86

updateTask

Anchor
updateTask
updateTask

Tasks

Update a task in a plan job. You must provide the same parameters as if you were creating the task.

plan, job, id

enable, disable, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

87

updateVariables

Anchor
updateVariables
updateVariables

Variables

Update existing global or plan variables. Defaults to global variables unless a plan is specified. Use the field parameters for the variable name and the corresponding value parameters for the variable values,

 

plan, fields, field1, value1, field2, value2, field3, value3, field4, value4, field5, value5, field6, value6, field7, value7, field8, value8

 

88

validateLicense

Anchor
validateLicense
validateLicense

Misc

Validates the CLI Connector is enabled and licensed on the server.

 

 

 

89

verifyBuild

Anchor
verifyBuild
verifyBuild

Builds

Verify build was successful.

build

number

 

Parameter Tips

Include Page
ACLI:Shared - tips for documentation
ACLI:Shared - tips for documentation

Parameters

csv

Parameter

...

Short

...

Value

...

Description

1

...

acceptType

Anchor
acceptType
acceptType

 

(tick)

Content type to accept for renderRequest if different than type.

2

action

Anchor
action
action

a

(tick)

 

3

after

Anchor
after
after

 

(tick)

Used in orderRepository to name the repository after which the repository will be positioned. Similarly for moveTask where it represent the id of the task.

4

afterSql

Anchor
afterSql
afterSql

 

(tick)

SQL to run after a successful action. Limited to specific actions at this time.

5

agent

Anchor
agent
agent

 

(tick)

Agent name.

6

api

Anchor
api
api

 

(tick)

API version. Some requests produce different results based on the api version used. (default: latest)

7

append

Anchor
append
append

 

(error)

For some actions using the file parameter, append will append output to the existing file.

8

artifact

Anchor
artifact
artifact

 

(tick)

Build artifact name. May be extended by a path name for locating files within an artifact representing a dirctory.

9

assignment

Anchor
assignment
assignment

 

(tick)

Key used to identify a project, plan, or job to be assigned to a specific agent. This makes the agent dedicated to only perform builds for all assignments. Example: XXX, XXX-DEF, XXX-DEF-JOB1

10

attribute

Anchor
attribute
attribute

 

(tick)

Attribute to list.

11

before

Anchor
before
before

 

(tick)

Before task id.

12

build

Anchor
build
build

 

(tick)

Build key. Normally used to refer to a specific build (3 or 4 part name). However, it was also an older terminology for a plan and some action continue to accept the older terminology. Example: XXX-DEF or XXX-DEF-1

13

childPlans

Anchor
childPlans
childPlans

 

(tick)

Comma separated list of plan keys that represent child plan dependencies.

14

cleanAfter

Anchor
cleanAfter
cleanAfter

 

(error)

Clean working directory after each job completes. Use on setJobOptions.

15

clearFileBeforeAppend

Anchor
clearFileBeforeAppend
clearFileBeforeAppend

 

(error)

For run actions, this option will automatically clear an existing file on the first append requested.

16

columns

Anchor
columns
columns

 

(tick)

Column selection and ordering when action generates CSV output. A comma separated list of column numbers (1-based) or column names (case insensitive). Only columns provided by the selected outputFormat are available for selection. Invalid columns will be ignored.

17

comment

Anchor
comment
comment

 

(tick)

Comment text.

18

common

Anchor
common
common

 

(tick)

Common parameter string added to all run actions.

19

connectionTimeout

Anchor
connectionTimeout
connectionTimeout

 

(tick)

Allow overriding environment settings for connect and read timeouts on URL connections. In milliseconds, 0 means infinite.

20

continue

Anchor
continue
continue

 

(error)

Continue processing even after errors are encountered for run actions. Also used for some action to ignore certain errors like not found errors on remove actions.

21

cookies

Anchor
cookies
cookies

 

(tick)

Name of file to restore and persist cookies across invocations of CLI actions. Can be used to provide Data Center session affinity for actions using REST APIs.

22

copyPattern

Anchor
copyPattern
copyPattern

 

(tick)

Copy pattern for an artifact definition.

23

database

Anchor
database
database

 

(tick)

Database name is required for SQL actions.

24

dateFormat

Anchor
dateFormat
dateFormat

 

(tick)

Format string for dates in Java SimpleDateFormat. Default for output is client date format. Default for date parsing is lenient starting with client date format and then some other standard formats based on JSON date format.

25

dateFormat2

Anchor
dateFormat2
dateFormat2

 

(tick)

Alternate format string for dates in Java SimpleDateFormat. Use specific (may be ignored), but normally used for date only fields to avoid longer dateFormat based output. Some uses default to yyyy-MM-dd.

26

dbCreateTable

Anchor
dbCreateTable
dbCreateTable

 

(error)

Database table needs to be created before adding rows.

27

dbJar

Anchor
dbJar
dbJar

 

(tick)

By default, lib/jdbc is used to automatically load database drivers. Otherwise you can specify a specific file or url reference for the database driver jar. Example /jdbcDrivers/postgresql-9.3-1102.jdbc41.jar

...

...

28

dbPassword

Anchor
dbPassword
dbPassword

 

(tick)

Database user password. Defaults to password.

29

dbTable

Anchor
dbTable
dbTable

 

(tick)

Database table name when creating or updating a database from list output.

30

dbTableKeys

Anchor
dbTableKeys
dbTableKeys

 

(tick)

Comma separated list of column names used to access existing rows for update. Normally this defines a primary key set for the table.

31

dbUser

Anchor
dbUser
dbUser

 

(tick)

Database user name. Defaults to user.

32

debug

Anchor
debug
debug

 

(error)

Requests detail debug output. Optional for all actions.

33

description

Anchor
description
description

 

(tick)

Description for entity.

34

disable

Anchor
disable
disable

 

(error)

Disable an entity for those entities like plans, stages, jobs, and tasks.

35

driver

Anchor
driver
driver

 

(tick)

JDBC driver class or predefined value: postgresql, mysql, mssql, oracle, or db2400. Required for SQL actions.

36

enable

Anchor
enable
enable

 

(error)

Enable an entity when updating.

37

encoding

Anchor
encoding
encoding

 

(tick)

Character encoding (character set) for text based file content - must be an encoding supported by your JAVA platform.

38

event

Anchor
event
event

 

(tick)

Event alias or key. Add-ons provide events identified by key. Example key: com.atlassian.bamboo.plugin.system.notifications:chainCompleted.failedChains

...

39

excludeDisabled

Anchor
excludeDisabled
excludeDisabled

 

(error)

Filter out entries that are disabled.

40

excludeEnabled

Anchor
excludeEnabled
excludeEnabled

 

(error)

Filter out entries that are enabled.

41

expand

Anchor
expand
expand

 

(tick)

Expanded request information to obtain more detailed data on request.

42

favorite

Anchor
favorite
favorite

 

(error)

Subset to favorites. Same as favourite.

43

favourite

Anchor
favourite
favourite

 

(error)

Subset to favourites. Same as favorite.

44

field1

Anchor
field1
field1

 

(tick)

Construct specific field or variable name. Value is specified by the value1 parameter.

45

field2

Anchor
field2
field2

 

(tick)

Construct specific field or variable name. Value is specified by the value2 parameter.

46

field3

Anchor
field3
field3

 

(tick)

Construct specific field or variable name. Value is specified by the value3 parameter.

47

field4

Anchor
field4
field4

 

(tick)

Construct specific field or variable name. Value is specified by the value4 parameter.

48

field5

Anchor
field5
field5

 

(tick)

Construct specific field or variable name. Value is specified by the value5 parameter.

49

field6

Anchor
field6
field6

 

(tick)

Construct specific field or variable name. Value is specified by the value6 parameter.

50

field7

Anchor
field7
field7

 

(tick)

Construct specific field or variable name. Value is specified by the value7 parameter.

51

field8

Anchor
field8
field8

 

(tick)

Construct specific field or variable name. Value is specified by the value8 parameter.

52

fields

Anchor
fields
fields

 

(tick)

Use to specify task or repository specific fields or variables and their values. A comma separated list of key:value pairs. Single quote the key:value pair if it contains a comma (,) or line breaks.

53

file

Anchor
file
file

f

(tick)

Path to file based content or result output. Use - for standard input.

54

final

Anchor
final
final

 

(error)

Make a final task.

55

findReplace

Anchor
findReplace
findReplace

 

(tick)

Find and replace text. Comma separated list of colon separated pairs. Single quote values containing a delimiter. Embedded quotes must be escaped.

56

findReplaceRegex

Anchor
findReplaceRegex
findReplaceRegex

 

(tick)

Find and replace text with a regular expression. Comma separated list of colon separated pairs. Single quote values containing a delimiter. Embedded quotes must be doubled.

57

help

Anchor
help
help

 

(error)

Prints this help message.

58

host

Anchor
host
host

 

(tick)

Database host server for SQL actions. Not used if url is provided. Defaults to localhost if not provided.

59

id

Anchor
id
id

 

(tick)

Stage or task id.

60

ipRestriction

Anchor
ipRestriction
ipRestriction

 

(tick)

Comma separated list of IP addresses to restrict ability to remotely trigger builds.

61

issues

Anchor
issues
issues

 

(tick)

Comma separated list of JIRA issue keys.

62

job

Anchor
job
job

 

(tick)

Job key. Example: JOB1

63

labels

Anchor
labels
labels

 

(tick)

Comma or blank separated list of labels.

64

limit

Anchor
limit
limit

 

(tick)

Maximum number of entries to return. (default: 2147483647)

65

list

Anchor
list
list

 

(tick)

Comma separated list of entries to populate the entry replacement variable on runFromList. Single quote values containing a delimiter. Embedded quotes must be doubled.

66

list2

Anchor
list2
list2

 

(tick)

Comma separated list of entries to populate the entry2 replacement variable on runFromList. Single quote values containing a delimiter. Embedded quotes must be doubled.

67

location

Anchor
location
location

 

(tick)

Working directory relative path to a source location for an artifact definition or a destination location for an artifact dependency.

68

manual

Anchor
manual
manual

 

(error)

Indicate that a stage be run manually.

69

name

Anchor
name
name

 

(tick)

Name of entity, like plan name.

70

number

Anchor
number
number

 

(tick)

Build number. Defaults to latest. (default: 0)

71

outputFormat

Anchor
outputFormat
outputFormat

 

(tick)

Specify output format for an action. (default: 1)

72

password

Anchor
password
password

p

(tick)

User password for remote access.

73

plan

Anchor
plan
plan

 

(tick)

Plan key containing the project key. Preferred way to reference a plan instead of the older build terminology. Example: XXX-DEF

74

port

Anchor
port
port

 

(tick)

Database host port for SQL actions. Optional, defaults to database default. Not used if url is provided.

75

project

Anchor
project
project

 

(tick)

Project key. Example: XXX

76

projectName

Anchor
projectName
projectName

 

(tick)

Project name.

77

propertyFile

Anchor
propertyFile
propertyFile

 

(tick)

Property file with database parameters, field mappings, or client specific information.

78

quiet

Anchor
quiet
quiet

 

(error)

Limit some output messages. Optional for all actions.

79

recipientType

Anchor
recipientType
recipientType

 

(tick)

Recipient type alias or key. Add-ons provide recipient types identified by key. Example key: com.atlassian.bamboo.plugins.bamboo-hipchat:recipient.hipchat

...

80

reference

Anchor
reference
reference

 

(tick)

Reference to a replacement key value used to remember an action specific value like issue key or similar so it can be referenced later.Each action that allows this parameter will specify what value is being set for the reference replacement key.

81

regex

Anchor
regex
regex

 

(tick)

Regular expression for list filtering and similar. Also for pattern match labelling.

82

replace

Anchor
replace
replace

 

(error)

Replace existing entity on add, create, or similar actions.

83

repository

Anchor
repository
repository

 

(tick)

Name of a repository. In some cases, a comma separated list of repository names.

84

repositoryKey

Anchor
repositoryKey
repositoryKey

 

(tick)

Repository key that uniquely identifies the repository type. Example: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:hg

...

85

request

Anchor
request
request

 

(tick)

URL fragment for a request.

86

requestParameters

Anchor
requestParameters
requestParameters

 

(tick)

URL request parameters or post data.

87

requestType

Anchor
requestType
requestType

 

(tick)

Type of a render request like GET or POST (default: GET)

88

requirement

Anchor
requirement
requirement

 

(tick)

Plan requirement key, either a custom key or a system capability key like: system.builder.ant.Ant.

...

89

revision

Anchor
revision
revision

 

(tick)

Revision id or tag.

90

schedule

Anchor
schedule
schedule

 

(tick)

Cron, daily time, or periodic schedule. A cron schedule must be valid cron expresssions and defaults to 0 0 0 ? * *. A daily time is a 24 hour format (HH:mm) value. A periodic schedule is a numeric value in seconds and defaults to 180.

91

searchLabels

Anchor
searchLabels
searchLabels

 

(tick)

Comma or blank separated list of labels used for search.

92

server

Anchor
server
server

s

(tick)

Server URL. Normally the base URL of the server and the same as how the server is accessed from a browser.

93

service

Anchor
service
service

 

(tick)

Service address extension. (default: /rest/api)

94

shared

Anchor
shared
shared

 

(error)

For an artifact definition, makes the artifact available for other builds.

95

simulate

Anchor
simulate
simulate

 

(error)

Simulate running actions. Log the action that would be taken.

96

special

Anchor
special
special

 

(tick)

Ordered list of alternate characters for comma ( , ), colon ( : ), at ( @ ), quote ( ' ), and double quote ( " ) characters used for specialized processing of some specific parameters.

97

sql

Anchor
sql
sql

 

(tick)

SQL select statement used to generate a run script.

98

stage

Anchor
stage
stage

 

(tick)

Stage name.

99

task

Anchor
task
task

 

(tick)

Task id, name, or description. Task ids are unique, but names and descriptions are not. Name and description lookup is done by finding the first match in the ordered task list.

100

taskKey

Anchor
taskKey
taskKey

 

(tick)

Task key. Example: com.atlassian.bamboo.plugins.scripttask:task.builder.script.An

...

alias

...

can

...

also

...

be

...

used

...

to

...

make

...

it

...

easier

...

and

...

less

...

error

...

prone.

...

See

...

addTask

...

for

...

the

...

list.

...

101

timeout

Anchor
timeout
timeout

 

(tick)

Wait timeout in seconds. Use -1 to wait forever. (default: -1)

102

toPlan

Anchor
toPlan
toPlan

 

(tick)

Plan key to be created. Example: XXX-DEF

103

toProject

Anchor
toProject
toProject

 

(tick)

Project key to clone to.

104

type

Anchor
type
type

 

(tick)

Requirement match type. Values: exist (default), equal, match. Also, content type for renderRequest and trigger type for addTrigger. (default: )

105

url

Anchor
url
url

 

(tick)

Action specific setting. Example: Database access url for SQL actions. Optional when host is provided.

106

user

Anchor
user
user

u

(tick)

User name for remote access. (default: automation)

107

value

Anchor
value
value

 

(tick)

Requirement match value.

108

value1

Anchor
value1
value1

 

(tick)

Value corresponding to the field1 parameter name.

109

value2

Anchor
value2
value2

 

(tick)

Value corresponding to the field2 parameter name.

110

value3

Anchor
value3
value3

 

(tick)

Value corresponding to the field3 parameter name.

111

value4

Anchor
value4
value4

 

(tick)

Value corresponding to the field4 parameter name.

112

value5

Anchor
value5
value5

 

(tick)

Value corresponding to the field5 parameter name.

113

value6

Anchor
value6
value6

 

(tick)

Value corresponding to the field6 parameter name.

114

value7

Anchor
value7
value7

 

(tick)

Value corresponding to the field7 parameter name.

115

value8

Anchor
value8
value8

 

(tick)

Value corresponding to the field8 parameter name.

116

verbose

Anchor
verbose
verbose

v

(error)

Requests verbose output to help with problem determination. Optional for all actions.

117

wait

Anchor
wait
wait

 

(error)

Wait for action to complete.

P