Reference - 5.7.0

On this page

Related information for 5.7.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_CONFLUENCE, CLI_CRUCIBLE, CLI_FISHEYE, CLI_HIPCHAT, CLI_JIRA, CLI_SERVICE_DESK, CLI_STASH, CLI_UPM, GANT, GINT, GRADLE, GRADLEW, GROOVY, MAVEN2, MAVEN3, SCP, SQL, SCRIPT, SSH, VARIABLE_REPLACE

plan, job, taskKey

disable, 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

getBuildList

Builds

Get a list of build reults. Build results can be filtered by using fields and values. Supported fields are state 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

Builds

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

 

project, build, file, append, encoding, columns

 

35

getBuild

Builds

Get build result.

build

number, expand, file

 

36

getClientInfo

Info

Get information about the this client tool.

 

outputFormat, file, append, encoding

1 - basic
2 - JVM

37

getCommentList

Comments

Get a list of comments for a build.

build

number, file, append, encoding, columns

 

38

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

Labels

Get a list of labels for a build.

build

number, file, append, encoding, columns

 

40

getLatestBuildNumber

Builds

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

plan

 

 

41

getNotificationList

Notifications

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

 

plan, file, append, encoding

 

42

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

Plans

Get plan information.

plan

 

 

44

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

Repositories

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

 

plan, regex, file, append, encoding

 

46

getRepository

Repositories

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

repository

plan

 

47

getServerInfo

Info

Get information about the Bamboo server.

 

outputFormat, dateFormat, file, append, encoding

1 - basic
2 - detail
3 - state

48

getStageList

Stages

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

plan

regex, file, attribute, columns

 

49

getVariableList

Variables

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

 

plan, regex, file, append, encoding

 

50

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

 

51

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

 

52

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

 

53

removeAgentAssignment

Agent Assignments

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

agent, assignment

continue

 

54

removeAgent

Agents

Remove an agent.

agent

 

 

55

removeArtifact

Artifacts

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

plan, job, artifact

 

 

56

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

 

57

removeNotification

Notifications

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

plan, id

 

 

58

removeRepository

Repositories

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

repository or id

plan, continue

 

59

removeRequirement

Requirements

Remove a plan requirement.

plan, job, id

 

 

60

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

 

61

removeTask

Tasks

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

plan, job, id

 

 

62

removeTrigger

Triggers

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

plan, id

 

 

63

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

 

64

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

 

65

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

 

66

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

 

67

runFromCsv

Run

Run actions generated from a CSV file.

file

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

 

68

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

 

69

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

 

70

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

 

71

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

 

72

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

 

73

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

 

74

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

 

75

run

Run

Run actions from a file or standard input.

file or standard input

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

 

76

setDependencyOptions

 

Experimental. 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

 

77

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

 

78

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

 

79

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

 

80

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

 

81

updateRequirement

Requirements

Update a plan requirement.

plan, job, id

type, value

 

82

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

 

83

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

 

84

validateLicense

Misc

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

 

 

 

85

verifyBuild

Builds

Verify build was successful.

build

number

 

Parameter Tips

Common parameters

A few common parameters are available that are not specifically listed as optional parameters for each action: helpverbose, debug, quiet, special, dateFormat, dateFormat2, and outputType. Similarly for database related parameters that are optional for all get list actions: url, dbUser, dbPassword, database, driver, dbJarhost, portdbCreateTable, dbTable, dbTableKeys, afterSql, and propertyFile.

Tips

  • To get help for a specific action, type the action followed by --help - example: --action getProjectList --help
  • Use double dash for multi-letter parameters - example: --help
  • Use single dash for single letter parameters indicated in the Short column in parameter help - example: -v
  • When parameters are specified, most need a value as indicated by a check in the Value column in parameter help - 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
    • An incorrect case parameter will result in an unknown parameter error and show action help with correctly cased parameter (9.8 or higher)
  • Some parameters become required once a specific action is chosen. This is indicated in the action help text as required.
  • Some parameters have both short (one letter) and long (more than one letter) parameter names - example: -a or --action are the same and cannot both be specified
  • Some parameters have default values, if so, they are indicated in the help text
  • Values that contain blanks or some special characters (platform specific) must be enclosed by double quotes - example: --title "this is my title"
  • Quoting rules in commands can vary by terminal environment:
    • Windows command terminals or run action scripts for all platforms: embedded double quotes within a double quoted string must 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"" "
    • Linux and Mac/OSX command terminals require standard Linux style 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 quotes on some command terminal environments - 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"

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 terminal 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
Replacement variables syntax: @...@.
4'single quote
Used in separated lists to cover cases where content contains separator.
5"double quote~Parameters containing blanks.
6^caret
Substitution double quote indicator: ^^...^^. See ACLI-673 for details. 

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. Also avoid characters that require escaping on your OS command terminal. 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.

4

afterSql

 

(tick)

Experimental. 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

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

12

childPlans

 

(tick)

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

13

cleanAfter

 

(error)

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

14

clearFileBeforeAppend

 

(error)

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

15

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.

16

comment

 

(tick)

Comment for an build.

17

common

 

(tick)

Common parameter string added to all run actions.

18

connectionTimeout

 

(tick)

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

19

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.

20

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.

21

copyPattern

 

(tick)

Copy pattern for an artifact definition.

22

database

 

(tick)

Database name is required for SQL actions.

23

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.

24

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.

25

dbCreateTable

 

(error)

Experimental. Database table needs to be created before adding rows.

26

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

27

dbPassword

 

(tick)

Database user password. Defaults to password.

28

dbTable

 

(tick)

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

29

dbTableKeys

 

(tick)

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

30

dbUser

 

(tick)

Database user name. Defaults to user.

31

debug

 

(error)

Requests detail debug output. Optional for all actions.

32

description

 

(tick)

Description for entity.

33

disable

 

(error)

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

34

driver

 

(tick)

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

35

enable

 

(error)

Enable an entity when updating.

36

encoding

 

(tick)

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

37

event

 

(tick)

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

38

excludeDisabled

 

(error)

Filter out entries that are disabled.

39

excludeEnabled

 

(error)

Filter out entries that are enabled.

40

expand

 

(tick)

Expanded request information to obtain more detailed data on request.

41

favorite

 

(error)

Subset to favorites. Same as favourite.

42

favourite

 

(error)

Subset to favourites. Same as favorite.

43

field1

 

(tick)

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

44

field2

 

(tick)

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

45

field3

 

(tick)

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

46

field4

 

(tick)

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

47

field5

 

(tick)

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

48

field6

 

(tick)

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

49

field7

 

(tick)

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

50

field8

 

(tick)

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

51

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.

52

file

f

(tick)

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

53

findReplace

 

(tick)

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

54

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.

55

help

 

(error)

Prints this help message.

56

host

 

(tick)

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

57

id

 

(tick)

Stage or task id.

58

ipRestriction

 

(tick)

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

59

issues

 

(tick)

Comma separated list of JIRA issue keys.

60

job

 

(tick)

Job key. Example: JOB1

61

labels

 

(tick)

Comma or blank separated list of labels.

62

limit

 

(tick)

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

63

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.

64

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.

65

location

 

(tick)

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

66

manual

 

(error)

Indicate that a stage be run manually.

67

name

 

(tick)

Name of entity, like plan name.

68

number

 

(tick)

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

69

outputFormat

 

(tick)

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

70

password

p

(tick)

User password for remote access.

71

plan

 

(tick)

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

72

port

 

(tick)

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

73

project

 

(tick)

Project key. Example: XXX

74

projectName

 

(tick)

Project name.

75

propertyFile

 

(tick)

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

76

quiet

 

(error)

Limit some output messages. Optional for all actions.

77

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

78

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.

79

regex

 

(tick)

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

80

replace

 

(error)

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

81

repository

 

(tick)

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

82

repositoryKey

 

(tick)

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

83

request

 

(tick)

URL fragment for a request.

84

requestParameters

 

(tick)

URL request parameters or post data.

85

requestType

 

(tick)

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

86

requirement

 

(tick)

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

87

revision

 

(tick)

Revision id or tag.

88

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.

89

searchLabels

 

(tick)

Comma or blank separated list of labels used for search.

90

server

s

(tick)

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

91

service

 

(tick)

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

92

shared

 

(error)

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

93

simulate

 

(error)

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

94

special

 

(tick)

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

95

sql

 

(tick)

SQL select statement used to generate a run script.

96

stage

 

(tick)

Stage name.

97

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.

98

timeout

 

(tick)

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

99

toPlan

 

(tick)

Plan key to be created. Example: XXX-DEF

100

toProject

 

(tick)

Project key to clone to.

101

type

 

(tick)

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

102

url

 

(tick)

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

103

user

u

(tick)

User name for remote access. (default: automation)

104

value

 

(tick)

Requirement match value.

105

value1

 

(tick)

Value corresponding to the field1 parameter name.

106

value2

 

(tick)

Value corresponding to the field2 parameter name.

107

value3

 

(tick)

Value corresponding to the field3 parameter name.

108

value4

 

(tick)

Value corresponding to the field4 parameter name.

109

value5

 

(tick)

Value corresponding to the field5 parameter name.

110

value6

 

(tick)

Value corresponding to the field6 parameter name.

111

value7

 

(tick)

Value corresponding to the field7 parameter name.

112

value8

 

(tick)

Value corresponding to the field8 parameter name.

113

verbose

v

(error)

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

114

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.