Reference - 6.2.0

On this page

Related information for 6.2.0

Actions

Action

Category

Description

Required parameters

Optional parameters

Output formats

1

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

Agents

Add a local agent.

agent

description

 

3

addArtifactDependency

Artifacts

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

plan, job, artifact, location

 

 

4

addArtifact

Artifacts

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

plan, job, artifact, copyPattern

location, shared

 

5

addComment

Comments

Add a comment to a build.

build, comment

number, findReplace, findReplaceRegex, file, encoding

 

6

addJob

Jobs

Add a job to a stage.

plan, stage, job

name, description, disable

 

7

addLabels

Labels

Add a comma separated list of labels to a build.

build, labels

number

 

8

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

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

Requirements

Add requirement to a plan job.

plan, job, requirement

type, value

 

11

addStage

Stages

Add a stage to a plan.

plan, stage

description, manual

 

12

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

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

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

Plans

Clone a plan.

plan, toPlan, name

description, projectName, disable

 

16

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

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

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

Plans

Delete a plan.

plan

 

 

20

deleteProject

Projects

Delete project and all project plans.

project

file

 

21

disableAgent

Agents

Disable an agent.

agent

 

 

22

disableJob

Jobs

Disable a job from running.

plan, job

 

 

23

disablePlan

Plans

Disable a plan from running.

plan

 

 

24

disableProject

Projects

Disable all project plans.

project

 

 

25

enableAgent

Agents

Enable an agent.

agent

 

 

26

enableJob

Jobs

Enable a job to run.

plan, job

 

 

27

enablePlan

Plans

Enable a plan to run.

plan

 

 

28

enableProject

Projects

Enable all project plans.

project

 

 

29

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

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

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

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

getBranchList

Branches

Get a list of branches for a plan with regex filtering on branch name or short name.

plan

limit, regex, columns, file, append, encoding

 

34

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

35

getBuildQueueList

Builds

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

 

project, build, file, append, encoding, columns

 

36

getBuild

Builds

Get build result.

build

number, expand, file

 

37

getClientInfo

Info

Get information about the this client tool.

 

outputFormat, file, append, encoding

1 - basic
2 - JVM

38

getCommentList

Comments

Get a list of comments for a build.

build

number, file, append, encoding, columns

 

39

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

 

40

getLabelList

Labels

Get a list of labels for a build.

build

number, file, append, encoding, columns

 

41

getLatestBuildNumber

Builds

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

plan

 

 

42

getNotificationList

Notifications

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

 

plan, file, append, encoding

 

43

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

44

getPlan

Plans

Get plan information.

plan

 

 

45

getProjectList

Projects

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

 

regex, file, append, encoding, columns

 

46

getRepositoryList

Repositories

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

 

plan, regex, file, append, encoding

 

47

getRepository

Repositories

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

repository

plan

 

48

getServerInfo

Info

Get information about the Bamboo server.

 

outputFormat, dateFormat, file, append, encoding

1 - basic
2 - detail
3 - state

49

getStageList

Stages

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

plan

regex, file, attribute, columns

 

50

getTaskList

Tasks

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

plan, job

limit, regex, file, columns

 

51

getVariableList

Variables

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

 

plan, regex, file, append, encoding

 

52

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

 

53

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

 

54

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

 

55

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

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

 

56

removeAgentAssignment

Agent Assignments

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

agent, assignment

continue

 

57

removeAgent

Agents

Remove an agent.

agent

 

 

58

removeArtifact

Artifacts

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

plan, job, artifact

 

 

59

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

 

60

removeNotification

Notifications

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

plan, id

 

 

61

removeRepository

Repositories

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

repository or id

plan, continue

 

62

removeRequirement

Requirements

Remove a plan requirement.

plan, job, id

 

 

63

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

 

64

removeTask

Tasks

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

plan, job, id

 

 

65

removeTrigger

Triggers

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

plan, id

 

 

66

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

 

67

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

 

68

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

 

69

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

 

70

runFromCsv

CSV

Run actions generated from a CSV file.

file

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

 

71

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

 

72

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

 

73

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

 

74

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

 

75

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

 

76

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

 

77

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

 

78

run

Run

Run actions from a file or standard input.

file or standard input

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

 

79

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

 

80

setFavoritePlan

Plans

Set the plan as a favorite.

plan

 

 

81

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

 

82

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

 

83

unsetFavoritePlan

Plans

Remove the plan from the favorite list.

plan

 

 

84

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

 

85

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

 

86

updateRequirement

Requirements

Update a plan requirement.

plan, job, id

type, value

 

87

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

 

88

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

 

89

validateLicense

Misc

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

 

 

 

90

verifyBuild

Builds

Verify build was successful.

build

number

 

Parameter Tips

Common parameters

A few common parameters are available that are not specifically listed for each action: verbose, debug, quiet.

Tips

  • Use single dash for single letter parameters - example: -v
  • Use double dash for multi-letter parameters - example: --help
  • When parameters are specified, most need a value - example: --action addPage
  • Some parameters are flags (boolean) and must not be followed by a value - example: --verbose
  • Parameter names are case sensitive, but, action values are not - example: --userid is invalid but --action addpage is equivalent to --action addPage
  • Some parameters become required once a specific action is chosen. This is indicated in the help text for each action.
  • Some parameters have both short (one letter) and long (more than one letter) parameter names - example: -a or --action are the same
  • Some parameters have default values, if so, they are indicated in the help text - example: (default: automation)
  • Some parameters are required - indicated by (...) in the help text - example: (-a|--action) <action>
  • Some parameters are optional - indicated by [...] in the help text - example: [(-f|--file) <file>]
  • Values that have more than one word must be enclosed by double quotes - example: --title "this is my title"
  • Quoting rules in commands can vary by environment (sad), here are the techniques that may work in your environment:
    • Many environments: embedded double quotes within a double quoted string can be escaped by doubling the double quote - example: –common "-a addComment --comment ""This is an example of a double quoted string inside a double quote"" "
    • Some environments may need different escaping: embedded double quotes within a double quoted string can be escaped with a \ - example: –common "-a addComment --comment \"This is an example of a double quoted string inside a double quote\" "
    • Run CLI Actions usage: embedded double quotes within a double quoted string can be escaped by doubling the double quote (first example above)
    • A single quote sometimes can used in place of a double quote - example: –common '-a addComment --comment "This is an example of a double quoted string inside a double quote" '
  • Some parameters allow entry of a comma separated list of values, values containing a comma must be enclosed in single quotes - example: --custom "'first:a,b,c', second:x". Embedded single quotes within a quoted string must be doubled
  • Some text fields support the automatic conversion of " \n " (blanks are significant) to be replaced with a new line character - example: --description "A multi-line text field: \n # line 1 \n # line 2"
  • To get help for a specific action (release 5.5 and above), type the action followed by --help - example: --action getProjectList --help

Special parameter

Some special characters are difficult to deal with or make action text very complicated. This is because they have special meaning in either the OS command line handling, the tool's command line parsing, or the tool's use of separators (like comma or colon separated lists). As a convenience to avoid some of these nasty situations, a special parameter was implemented to allow alternate characters to be used instead of (or in addition to) the problematic characters within parameter values. The choice of what special characters to use depends on the content so that you do not have conflicts with intended content. The special parameter works by the user providing a order specific alternate character. The alternative character is replaced with the real character after all other parsing occurs. It is implemented for many action parameters that are problematic in this area. Not all situations are covered, but, that will improve as other use cases are identified.

PositionCharacterCharacter nameSuggested alternateUsage
1,comma Some parameters use comma separated lists.
2:colon#Some parameters use colon separated values.
3@at sign  
4'single quote Used in separated lists to cover cases where content contains separator.
5"double quote~Parameters containing blanks.

A blank in any position is ignored (no alternate provided).

Example: –special " #  ~" provides alternates for colon and double quote. 
         --common "--findReplace ~something to find containing a : (colon)#replacement~"  

Character Set

User and password values should be in the ISO-8859-1 character set. Non standard characters will result in an authorization error similar to: User is not authorized to perform the request.

 

Parameters

Parameter

Short

Value

Description

1

acceptType

 

(tick)

Content type to accept for renderRequest if different than type.

2

action

a

(tick)

 

3

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

 

(tick)

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

5

agent

 

(tick)

Agent name.

6

api

 

(tick)

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

7

append

 

(error)

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

8

artifact

 

(tick)

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

9

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

 

(tick)

Attribute to list.

11

before

 

(tick)

Before task id.

12

branch

 

(tick)

Branch name.

13

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

14

childPlans

 

(tick)

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

15

cleanAfter

 

(error)

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

16

clearFileBeforeAppend

 

(error)

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

17

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.

18

comment

 

(tick)

Comment text.

19

common

 

(tick)

Common parameter string added to all run actions.

20

connectionTimeout

 

(tick)

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

21

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.

22

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.

23

copyPattern

 

(tick)

Copy pattern for an artifact definition.

24

database

 

(tick)

Database name is required for SQL actions.

25

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.

26

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.

27

dbCreateTable

 

(error)

Database table needs to be created before adding rows.

28

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 or

https://jdbc.postgresql.org/download/postgresql-9.3-1102.jdbc41.jar

29

dbPassword

 

(tick)

Database user password. Defaults to password.

30

dbTable

 

(tick)

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

31

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.

32

dbUser

 

(tick)

Database user name. Defaults to user.

33

debug

 

(error)

Requests detail debug output. Optional for all actions.

34

description

 

(tick)

Description for entity.

35

disable

 

(error)

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

36

driver

 

(tick)

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

37

enable

 

(error)

Enable an entity when updating.

38

encoding

 

(tick)

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

39

event

 

(tick)

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

40

excludeDisabled

 

(error)

Filter out entries that are disabled.

41

excludeEnabled

 

(error)

Filter out entries that are enabled.

42

expand

 

(tick)

Expanded request information to obtain more detailed data on request.

43

favorite

 

(error)

Subset to favorites. Same as favourite.

44

favourite

 

(error)

Subset to favourites. Same as favorite.

45

field1

 

(tick)

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

46

field2

 

(tick)

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

47

field3

 

(tick)

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

48

field4

 

(tick)

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

49

field5

 

(tick)

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

50

field6

 

(tick)

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

51

field7

 

(tick)

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

52

field8

 

(tick)

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

53

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.

54

file

f

(tick)

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

55

final

 

(error)

Make a final task.

56

findReplace

 

(tick)

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

57

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.

58

help

 

(error)

Prints this help message.

59

host

 

(tick)

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

60

id

 

(tick)

Stage or task id.

61

ipRestriction

 

(tick)

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

62

issues

 

(tick)

Comma separated list of JIRA issue keys.

63

job

 

(tick)

Job key. Example: JOB1

64

labels

 

(tick)

Comma or blank separated list of labels.

65

limit

 

(tick)

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

66

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.

67

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.

68

location

 

(tick)

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

69

manual

 

(error)

Indicate that a stage be run manually.

70

name

 

(tick)

Name of entity, like plan name.

71

number

 

(tick)

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

72

options

 

(tick)

Comma separated list of support, experimental, or other client or action specific options.

73

outputFormat

 

(tick)

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

74

password

p

(tick)

User password for remote access.

75

plan

 

(tick)

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

76

port

 

(tick)

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

77

project

 

(tick)

Project key. Example: XXX

78

projectName

 

(tick)

Project name.

79

propertyFile

 

(tick)

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

80

quiet

 

(error)

Limit some output messages. Optional for all actions.

81

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

82

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.

83

regex

 

(tick)

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

84

replace

 

(error)

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

85

repository

 

(tick)

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

86

repositoryKey

 

(tick)

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

87

request

 

(tick)

URL fragment for a request.

88

requestParameters

 

(tick)

URL request parameters or post data.

89

requestType

 

(tick)

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

90

requirement

 

(tick)

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

91

revision

 

(tick)

Revision id or tag.

92

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.

93

searchLabels

 

(tick)

Comma or blank separated list of labels used for search.

94

server

s

(tick)

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

95

service

 

(tick)

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

96

shared

 

(error)

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

97

simulate

 

(error)

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

98

special

 

(tick)

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

99

sql

 

(tick)

SQL select statement used to generate a run script.

100

stage

 

(tick)

Stage name.

101

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.

102

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.

103

timeout

 

(tick)

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

104

toPlan

 

(tick)

Plan key to be created. Example: XXX-DEF

105

toProject

 

(tick)

Project key to clone to.

106

type

 

(tick)

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

107

url

 

(tick)

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

108

user

u

(tick)

User name for remote access. (default: automation)

109

value

 

(tick)

Requirement match value.

110

value1

 

(tick)

Value corresponding to the field1 parameter name.

111

value2

 

(tick)

Value corresponding to the field2 parameter name.

112

value3

 

(tick)

Value corresponding to the field3 parameter name.

113

value4

 

(tick)

Value corresponding to the field4 parameter name.

114

value5

 

(tick)

Value corresponding to the field5 parameter name.

115

value6

 

(tick)

Value corresponding to the field6 parameter name.

116

value7

 

(tick)

Value corresponding to the field7 parameter name.

117

value8

 

(tick)

Value corresponding to the field8 parameter name.

118

verbose

v

(error)

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

119

wait

 

(error)

Wait for action to complete.

Log a request with our support team.

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