Reference - 9.0.0
On this page
Related information for 9.0.0
Quick Tips
- To get all help from a command line use: --help
- To get help for any action, add --help to the action
- Example: --action getClientInfo --help
- More tips
Actions
|
Action |
Description |
Required Parameters |
Optional Parameters |
Category |
Type |
---|---|---|---|---|---|---|
1 |
Add a local agent. |
Agents |
Create |
|||
2 |
Assign a project, plan, job, deployment project, or environment to a specific agent. This makes the agent dedicated to only perform builds for all assignments. If deployment or environment names are used instead of keys, type must be provided to indicate assignment represents a DEPLOYMENT_PROJECT or ENVIRONMENT. Use continue to ignore already exists error. Use autoAgent to automatically create a local agent if it does not already exist. |
Agent Assignments |
Create |
|||
3 |
Add an application link to another application. By default, both incoming and outgoing links are enabled and configured without impersonation (users are not shared). Use the options parameter to customize the behavior. Use '--options impersonate' to enable shared users. Other examples are '--options disableIncoming' and '--options disableOutgoing'. If another link of the same type already exists as primary, use '--options primary' to force the new link to be primary instead. |
Links |
Create |
|||
4 |
Add an artifact definition to a job. |
Artifacts |
Create |
|||
5 |
Add an artifact dependency to a job. Artifact must be a shared artifact from another job. |
|
Artifacts |
Create |
||
6 |
Add a branch to a plan. The plan branch will be disabled by default. For add, the branch parameter refers to the repository branch. An optional name for the plan branch can be specified, otherwise the repository branch name will be used. |
Branches |
Create |
|||
7 |
Add a shared or agent specific server capability. |
agent, name, autoAgent, value, field, field1, value1, field2, value2 |
Capabilities |
Create |
||
8 |
Add a comment to a build. |
number, findReplace, findReplaceRegex, input, file, encoding |
Comments |
Create |
||
9 |
Add SSH, AWS, or user based credentials. For SSH, provide a file with the SSH private key. For AWS, provide an access key and secret. |
credentials, userId or file or accessKeyId and accessKey |
Credentials |
Create |
||
10 |
Add an environment to deployment project. |
Deployment |
Create |
|||
11 |
Add a notification to a deployment environment. 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. |
Deployment |
Create |
|||
12 |
Add a requirement to a deployment environment. |
Deployment |
Create |
|||
13 |
Add a task to a deployment environment. |
Deployment |
Create |
|||
14 |
Add a trigger to a deployment project. Pre-defined types are: scheduled, afterSuccessfulStage, afterSuccessfulPlan, afterSuccessfulDeployment. 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. |
repository, branch, schedule, ipRestriction, triggeringEnvironment, disable, field, field1, value1, field2, value2 |
Deployment |
Create |
||
15 |
Add deployment environment variables. Use the field parameters for the variable name and the corresponding value parameters for the variable values. |
Deployment |
Create |
|||
16 |
Add a new group. |
Groups |
Create |
|||
17 |
Add a job to a stage. |
name, description, type, docker, disable |
Jobs |
Create |
||
18 |
Add a comma separated list of labels to a build or plan. |
Labels |
Create |
|||
19 |
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. |
Notifications |
Create |
|||
20 |
Add a global or plan repository. If both a name and repository are provided, the name will be used for the Bamboo name and repository will be used for the Bitbucket reposiotry. 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. If the credentials parameter is provided the appropriate fields will be added automatically for GIT, Mercurial, and Bitbucket Cloud repositories. |
repository or name |
plan, repositoryKey, credentials, type, branch, continue, replace, field, field1, value1, field2, value2 |
Repositories |
Create |
|
21 |
Add requirement to a plan job. Type defaults to EXISTS. |
Requirements |
Create |
|||
22 |
Add a stage to a plan. |
Stages |
Create |
|||
23 |
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_JIRA, CLI_SERVICE_DESK, CLI_SLACK, CLI_UPM, GANT, GINT, GINT3, GRADLE, GRADLEW, GROOVY, INJECT_VARIABLES, JUNIT_PARSER, MAVEN2, MAVEN3, MAVEN_POM_EXTRACTOR, SCP, SQL, SCRIPT, SSH, VARIABLE_REPLACE |
description, disable, final, field, field1, value1, field2, value2 |
Tasks |
Create |
||
24 |
Add a trigger to a plan. Pre-defined types are: polling, remote, remoteBitbucketServer, scheduled. One or more repositories can be specified for pre-defined type triggers based on repositories or custom types. Polling triggers default to all plan repositories or use repository @all. Custom types can be specified with the appropriate trigger key (or alias) and all required parameters using the various field parameters. Use of the name parameter is deprecated - description should be used instead. |
description, repository, schedule, successfulPlans, ipRestriction, disable, field, field1, value1, field2, value2 |
Triggers |
Create |
||
25 |
Add a new user. User can be added to a group (or groups) using the group parameter. |
Users |
Create |
|||
26 |
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, findReplace, findReplaceRegex, field, field1, value1, field2, value2 |
Variables |
Create |
|
27 |
Clone an environment within a deployment project. |
Deployment |
Create |
|||
28 |
Clone a plan. |
Plans |
Create |
|||
29 |
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. |
|
Projects |
Create |
||
30 |
Create a deployment project for a plan. |
Deployment |
Create |
|||
31 |
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. Use continue to ignore the request if the plan already exists. Use replace to replace an existing plan, which, by default, follows a move, delete, create scenario. Use '--options clear' to modify the replace scenario to only clearing most plan constructs so they can be reconstructed later. Use '--options addDefaultJob' to automatically add a default stage and job to the plan similar to creating a plan from the UI. Use '--options removeTrigger' to automatically remove the default polling trigger added when the repository parameter is specified. See the documentation on Plan Creation Scripting for more details. |
name, projectName, description, repository, disable, replace, continue, options |
Plans |
Create |
||
32 |
Bamboo 6.2 and higher. Create a new project. |
Projects |
Create |
|||
33 |
Delete a deployment project by name or id. |
Deployment |
Delete |
|||
34 |
Delete a plan. |
|
Plans |
Delete |
||
35 |
Delete project and all project plans. |
Projects |
Delete |
|||
36 |
Deploy environment. To promote (re-deploy) an existing version, use --replace. |
Deployment |
Update |
|||
37 |
Disable an agent. |
|
Agents |
Update |
||
38 |
Disable a job from running. Use @all for job to disable all jobs in a stage. |
Jobs |
Update |
|||
39 |
Disable a plan from running. |
|
Plans |
Update |
||
40 |
Disable all project plans. |
|
Projects |
Update |
||
41 |
Enable an agent. |
|
Agents |
Update |
||
42 |
Enable a job to run. Use @all for job to enable all jobs in a stage. |
Jobs |
Update |
|||
43 |
Enable a plan to run. |
|
Plans |
Update |
||
44 |
Enable all project plans. |
|
Projects |
Update |
||
45 |
Export a deployment project to source that can be used for deployment project creation. |
Deployment |
Export |
|||
46 |
Export an environment for a deployment project to source. |
Deployment |
Export |
|||
47 |
Export a job to CLI source. |
Jobs |
Export |
|||
48 |
Export a plan to source that can be used for plan creation. Valid export types are CLI, JAVA. Yaml export no longer available on Bamboo 6.9 and higher. |
Plans |
Export |
|||
49 |
Export site to the exports directory in the home directory. By default, only the configuration is exported. Set appropriate options parameters to export additional data: exportResults, exportArtifacts, exportBuildLogs. Use the name parameter to set the file name, otherwise it will be automatically generated based on the date of the export using the date format requested. |
|
Sites |
Export |
||
50 |
Get a list of assignments for agents with regex filtering on entity key or name. Specify an agent to filter by agent. Specify an assignment type to filter on type. Valid types are PROJECT, PLAN, JOB, DEPLOYMENT_PROJECT, ENVIRONMENT. |
|
Agent Assignments |
Get |
||
51 |
Get a list of agents based on regex filtering of agent names. |
|
excludeEnabled, excludeDisabled, limit, regex, file, append, encoding, columns |
Agents |
Get |
|
52 |
Get app information if installed. Use '--app @default' for the CLI app. |
|
App |
Get |
||
53 |
Get information for an application link identified by name or url. |
|
Links |
Get |
||
54 |
Get list of a application links with optional filtering on application type and regex filtering on the name or url. Use '--options excludeSystemLinks' to exclude system defined links. Example types: jira, confluence. |
|
type, options, limit, regex, outputFormat, file, append, columns, encoding |
Links |
Get |
|
55 |
Download a copy of a build artifact into a file or directory. Uses same parameters and logic as getArtifactList for identifying build result artifacts to search. For artifacts that represent a directory, specify an existing directory or use '--options mkdir' to create the directory path to download all files for the artifact. Otherwise, the html for the artifact will be downloaded to the file. Alternatively, use the artifact name plus the path to the file in the artifact to get a single artifact file. |
Artifacts |
Get |
|||
56 |
Get a list of artifact definitions for a plan with regex filtering on artifact name. |
Artifacts |
Get |
|||
57 |
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. |
Artifacts |
Get |
|||
58 |
Get information for a branch to a plan. Branch can be either the short or long name of the branch. |
Branches |
Get |
|||
59 |
Get a list of branches for a plan with regex filtering on branch name, short name, or full key. |
Branches |
Get |
|||
60 |
Get branching options for a plan. |
Branches |
Get |
|||
61 |
Get build result. |
Builds |
Get |
|||
62 |
Get a list of build results. Build results can be filtered by labels, issues, and using field parameters. Supported fields are state, notState, started, endedBefore. For example, include only successful results by using: --field state=SUCCESSFUL, or include only builds started after a specific date use: --field started=2016-04-30 --dateFormat yyyy-MM-dd. Default limit is 25. |
labels, issues, limit, columns, file, append, encoding, field, field1, value1, field2, value2 |
Builds |
Get |
||
63 |
Get log entries for a build result with regex filtering of the lines to be included. Use the limit parameter to only show the last number of selected lines. Find and replace parameters can be used to modify the selected line output. Log lines have 3 tab separated columns with type, timestamp, and detail elements. |
job, number, limit, regex, findReplace, findReplaceRegex, file, encoding |
Builds |
Get |
||
64 |
Get a list of builds waiting in the build queue. Filter by regex or by project or plan key. |
|
project, plan, build, regex, limit, file, append, encoding, columns |
Builds |
Get |
|
65 |
Get a list of shared or agent specific capabilities with regex filtering on capability key or name (label). Use @all for agent to get shared and agent specific capabilities. Specify --options includeUnreferenced to include unreferenced server capabilities keys known to the system. |
|
agent, options, regex, options, limit, columns, file, append, encoding |
Capabilities |
Get |
|
66 |
Get information about this client. |
|
Info |
Get |
||
67 |
Get a list of comments for a build. |
Comments |
Get |
|||
68 |
Get a list of credentials based on regex filtering of credentials name. |
|
Credentials |
Get |
||
69 |
Get information for a deployment project by name or id. |
|
Deployment |
Get |
||
70 |
Get a list of deployment projects based on regex filtering of project names. |
|
Deployment |
Get |
||
71 |
Get information for an environment from a deployment project by name or id. |
Deployment |
Get |
|||
72 |
Get a list of environments for a deployment project based on regex filtering of environment names. |
Deployment |
Get |
|||
73 |
Get a list of environment notifications. |
Deployment |
Get |
|||
74 |
Get a list of deployment environment requirements based on regex filtering of requirement names. |
Deployment |
Get |
|||
75 |
Get a list of tasks for a deployment environments with regex filtering of task name or description. |
Deployment |
Get |
|||
76 |
Get information for a deployment environment trigger. |
Deployment |
Get |
|||
77 |
Get a list of environment triggers for a deployment environment based on regex filtering of trigger names or descriptions. |
Deployment |
Get |
|||
78 |
Get a list of deployment environment variables based on regex filtering of variable names. |
Deployment |
Get |
|||
79 |
Get job information. |
|
Jobs |
Get |
||
80 |
Get a list of jobs for a plan with regex filtering on job key or name. Subset by stage if desired. |
Jobs |
Get |
|||
81 |
Get a list of labels for a build or plan. |
Labels |
Get |
|||
82 |
Get the number of the last completed build for this plan. |
|
Builds |
Get |
||
83 |
Get a list of plan notifications. |
Notifications |
Get |
|||
84 |
Get plan information. |
|
Plans |
Get |
||
85 |
Get a list of plans for a project with regex filtering on plan key or name. Additionally, use labels parameter to filter by labels. Use @all for project to get a list of plans across all projects. To also include branch plans in the list, use --options "includeBranchPlans". Advanced filtering based on state and date of the latest build for the plan is also available. See getBuildList for more information. Advanced filtering based on using a repository is also possible using --options "usingRepository=xxx". |
favorite, excludeDisabled, excludeEnabled, labels, options, limit, regex, outputFormat, dateFormat, columns, options, file, append, encoding, field, field1, value1, field2, value2 |
Plans |
Get |
||
86 |
Get a list of projects. Projects are selected based on regex filtering on project key or name. |
|
Projects |
Get |
||
87 |
Get a list of replacement variable names and values. |
|
Variables |
Get |
||
88 |
Get details of a global or plan repository. |
Repositories |
Get |
|||
89 |
Get a list of global or plan repositories with regex filtering on repository name. |
|
Repositories |
Get |
||
90 |
Get a list of requirements for a job with regex filtering on requirement name. |
Requirements |
Get |
|||
91 |
Get information about the Bamboo server. |
|
Info |
Get |
||
92 |
Get plan stage information. |
|
Stages |
Get |
||
93 |
Get a list of stages for a plan with regex filtering on stage name. |
Stages |
Get |
|||
94 |
Get detail information on a task from a plan job. Use --task @all to give detail information on all tasks for a job. |
|
Tasks |
Get |
||
95 |
Get a list of tasks for a job with regex filtering on task name. |
Tasks |
Get |
|||
96 |
Get a list of task types available with regex filtering on type name and description. |
Tasks |
Get |
|||
97 |
Get information for a plan trigger. |
Triggers |
Get |
|||
98 |
Get a list of triggers for a job based on regex filtering of trigger names or descriptions. |
Triggers |
Get |
|||
99 |
Get list of a users with regex filtering on the userId or name. On Bamboo 6.6 or higher, if a group is specified, only user from the group will be included. |
|
Users |
Get |
||
100 |
Get a list of global or plan variables based on regex filtering of variable names. The optional reference parameter can be used to set a CLI replacement variable for each variable with name prefixed by the reference parameter. Use 'bamboo.' to make references look similar to how bamboo variables are used. |
|
Variables |
Get |
||
101 |
Install app via UPM. Use '--app @default' for the CLI app. See UPM CLI documentation for installApp for more details. |
App |
Install |
|||
102 |
Move an environment after or before another environment identified by name or id. If neither before or after are specified, the environment will be moved to the top. Use --after @last to move environment to the last position. After parameter takes precedence. |
Deployment |
Update |
|||
103 |
Move a job to a stage. |
Jobs |
Update |
|||
104 |
Move one or more plans from one project to another project (existing or new) with filtering similar to getPlanList. Specifying a plan will move that plan. If plan is not specified, plans from the source project, with filtering like for getPlanList, will be moved. Plan key and name can be changed on the move by specifying toPlan and name respectively. When toPlan or name are provided for multiple plan moves, they must contain @plan@ or @planName@ replacement variables. Consider pausing the server to prevent activity during a move using the pauseServer action or specifying --options pause to have the action automatically pause the server and resume after the end of the operation. |
toPlan, name, excludeEnabled, excludeDisabled, labels, options, limit, regex |
Plans |
Update |
||
105 |
Change the position of a stage in a plan to be after another stage or, by default, to the top. |
Stages |
Update |
|||
106 |
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. |
Tasks |
Update |
|||
107 |
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. |
Repositories |
Update |
|||
108 |
Pause the server to prevent builds from starting. |
|
|
Server |
Stop |
|
109 |
Queue a build to run. If a build number is provided (number parameter or 3 part build key), an existing failed or incomplete build can be restarted. 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. Plans with manual stages can be automatically continued to a specific stage or @ALL using the stage parameter provided wait is also used. Conditional queueing is supported - see the documentation for details. |
branch, revision, number, wait, stage, continue, timeout, dateFormat, field, field1, value1, field2, value2 |
Builds |
Start |
||
110 |
Queue multiple builds to run and wait for results. Plans can be filtered by using the labels parameter. Project can be @all. 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. |
labels, regex, limit, continue, simulate, timeout, dateFormat, field, field1, value1, field2, value2 |
Builds |
Start |
||
111 |
Remove an agent. |
Agents |
Delete |
|||
112 |
Remove an assignment from a specific agent. Use continue to ignore not found error. |
Agent Assignments |
Delete |
|||
113 |
Remove an application link identified by name or url. |
Links |
Delete |
|||
114 |
Remove an artifact definition from a plan or job. |
Artifacts |
Delete |
|||
115 |
Removes a branch from a plan. Use --branch @all to remove all branches from a plan. |
|
Branches |
Delete |
||
116 |
Remove artifacts for a specific build or just specific job artifacts using the job parameter or when the build parameter contains a job reference. This includes build result, logs, and artifacts. Use continue to ignore not found errors. Only job unshared artifacts are removed for job artifact removal. To remove artifacts from multiple builds, use in conjunction with runFromBuildList and its filtering capabilities. |
Builds |
Delete |
|||
117 |
Remove history for a specific build. This includes build result, logs, and artifacts. Use continue to ignore not found errors. To remove history from multiple builds, use in conjunction with runFromBuildList and its filtering capabilities. |
Builds |
Delete |
|||
118 |
Remove a shared or agent specific server capability identified by key (label) or unique name. |
Capabilities |
Delete |
|||
119 |
Remove credentials by name or id. |
Credentials |
Delete |
|||
120 |
Remove an environment from a deployment project by name or id. |
Deployment |
Delete |
|||
121 |
Remove deployment environment notification. Use id of -1 to remove all notifications for an environment. If an id is not provided, all notifications found matching the event and recipientType will be removed. |
deploymentProject, environment, id or event and recipientType |
Deployment |
Delete |
||
122 |
Remove a deployment environment requirement. Specify -1 for id to remove all requirements from a plan that are eligible to be removed. |
|
Deployment |
Delete |
||
123 |
Remove a task from a deployment environment. |
|
Deployment |
Delete |
||
124 |
Remove a trigger from a deployment environment. Use --id -1 or --name @all to remove all triggers. Administrator permission required to use a name and only the first trigger with the given name will be removed. |
Deployment |
Delete |
|||
125 |
Remove deployment environment variables. Specify the variable names using the field parameters. |
Deployment |
Delete |
|||
126 |
Remove a group. |
Groups |
Delete |
|||
127 |
Remove a job from a plan. |
Jobs |
Delete |
|||
128 |
Remove labels from a build or plan. Labels can be a comma separated list or regex. |
Labels |
Delete |
|||
129 |
Remove a plan notification. Use id of -1 to remove all notifications for a plan. If an id is not provided, all notifications found matching the event and recipientType will be removed. |
plan, id or event and recipientType |
Notifications |
Delete |
||
130 |
Remove global or plan repository. Use @all to remove all repositories. When removing a single plan repository, you can replace references with another repository defined for the plan by using --options "replaceRepository=XXX". |
repository or id |
Repositories |
Delete |
||
131 |
Remove a plan requirement. Specify -1 for id to remove all requirements from a plan that are eligible to be removed. |
|
Requirements |
Delete |
||
132 |
Remove a stage from a plan. Use --stage @all to remove all stages. Use continue to ignore not found errors. On Bamboo 6.8 and higher, stages are removed in the background. Use wait to wait for the background removal to occur before completing the action. |
Stages |
Delete |
|||
133 |
Remove a task from a plan job. Use --task @all to remove all tasks. |
|
Tasks |
Delete |
||
134 |
Remove a trigger from a plan. Use --id -1 or --name @all to remove all triggers. Administrator permission required to use a name and only the first trigger with the given name will be removed. |
Triggers |
Delete |
|||
135 |
Remove a user. |
Users |
Delete |
|||
136 |
Remove global or plan variables. Specify the variable names using the field parameters. |
|
Variables |
Delete |
||
137 |
Render url based request. The response data modified by findReplace processing is returned. |
requestParameters, requestType, type, acceptType, build, file, encoding, findReplace, findReplaceRegex |
Render |
Get |
||
138 |
Restart a build that failed or was stopped or continue a build with unfinished manual stages. To build up to a specific manual stage, use wait and the stage parameter. Use *ALL for stage to run all stages. Use continue to ignore errors finding a build to restart or failed results. |
Builds |
Start |
|||
139 |
Only useful in the context of a run script replacing an existing plan with createPlan. This will attempt to add agent assignments saved during createPlan and that are still valid. |
|
Agent Assignments |
Import |
||
140 |
Resume server to allow builds to be started. |
|
|
Server |
Start |
|
141 |
Run actions from a file, list of input parameters, or standard input. |
common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Run |
Run |
||
142 |
Run actions for each agent assignment with filtering like getAgentAssignment. |
|
agent, type, limit, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Agent Assignments |
Run |
|
143 |
Run actions for each agent with regex filtering on agent name. |
|
excludeEnabled, excludeDisabled, limit, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Agents |
Run |
|
144 |
Run actions for each application link. Filtering available like for getApplicationLinkList. |
|
type, limit, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Links |
Run |
|
145 |
Run actions for each build with filtering like getBuildList. |
labels, issues, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex, field, field1, value1, field2, value2 |
Builds |
Run |
||
146 |
Run actions for each capability with regex filtering like getCapabilityList. |
|
agent, limit, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Capabilities |
Run |
|
147 |
Run actions generated from a CSV file. |
propertyFile, common, input, continue, simulate, field, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
CSV |
Run |
||
148 |
Run actions for each deployment project with regex filtering on deployment project name. |
|
regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Deployment |
Run |
|
149 |
Run actions for each environment defined for a deployment project with regex filtering on environment name. |
regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Deployment |
Run |
||
150 |
Run actions for each environment requirement defined for a deployment environment with regex filtering on requirement name. |
regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Deployment |
Run |
||
151 |
Run actions for each environment trigger defined for a deployment environment with regex filtering on trigger name or description. |
regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Deployment |
Run |
||
152 |
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. |
stage, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Jobs |
Run |
||
153 |
Run actions for each entry in a list with corresponding entry replacement variable. 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. When available, list2 entries provide values for the entry2 replacement variable. By default, the entry2 replacement variable is set in parallel with entry replacement variables for each action run. However, if --options listProcessing=serial is specified, each combination of entries from list and list2 will cause an action to run. |
list2, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Run |
Run |
||
154 |
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. See getPlanList for all filtering capabilities. |
favorite, excludeDisabled, excludeEnabled, labels, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Plans |
Run |
||
155 |
Run actions for each project with regex filtering on project key or name. |
|
regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Projects |
Run |
|
156 |
Run actions for each repository with regex filtering on repository name. |
|
plan, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Repositories |
Run |
|
157 |
Run actions for each requirement defined for a job with regex filtering on requirement name. |
limit, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Requirements |
Run |
||
158 |
Run actions generated by SQL provided by the sql parameter, a file, or standard input |
driver, database, host, port, url, dbUser, dbPassword, propertyFile, common, input, continue, simulate, field, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
SQL |
Run |
||
159 |
Run actions for each stage with regex filtering on stage name. |
stage, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Stages |
Run |
||
160 |
Run actions for each task in a job with regex filtering like getTaskList. |
limit, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Tasks |
Run |
||
161 |
Run actions for each plan trigger with regex filtering on trigger name or description. |
regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Triggers |
Run |
||
162 |
Run actions for each user with regex filtering the same as getUserList. |
|
group, regex, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Users |
Run |
|
163 |
Run actions only if a regex based condition is met. Other parameters and behavior are the same as the run action. By default the regex is used as a find operation in the value. Options parameter can be set to one or more of the following to modify the default behavior: literal - to treat the regex string as a literal string, exact - to require an exact match of the value, negative - to reverse the condition so a match means do NOT run action. |
options, common, input, continue, simulate, field, file, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex |
Run |
Run |
||
164 |
Set child dependencies and other related options. |
Options |
Update |
|||
165 |
Set the plan as a favorite. |
|
Plans |
Update |
||
166 |
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. |
Jobs |
Update |
|||
167 |
Set one or more replacement variables specified using field parameters with name=value syntax. Value specified replaces any previously set variable with the same name including values set by other actions that set replacement variables. This is an example to save a previously set value: --field myIssue=@issue@. Find and replace logic is applied to the value before setting the variable providing a way to manipulate values in a script. Variables are available only within the scope of the run script they were set in. |
Variables |
Update |
|||
168 |
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. |
Builds |
Stop |
|||
169 |
Experimental. Test a global or plan repository configuration to see if a successful connection can be made. Bamboo 5.15 or higher for Bitbucket, GIT, and Mercurial repositories using shared credentials only. |
Repositories |
|
|||
170 |
Remove the plan from the favorite list. |
|
Plans |
|
||
171 |
Update branching options for a plan. Use the field or other field setting parameters to set options. Use getBranchingOptions to view the available fields that can be set. |
Branches |
Update |
|||
172 |
Update a capabilities value. |
Capabilities |
Update |
|||
173 |
Update existing credentials. Credentials can be renamed by providing a name. |
name, userId, file, input, accessKeyId, userPassword, sshParaphrase, accessKey |
Credentials |
Update |
||
174 |
Update a deployment environment requirement. |
Deployment |
Update |
|||
175 |
Update a task for a deployment environment. |
Deployment |
Update |
|||
176 |
Update existing deployment environment variables. Use the field parameters for the variable name and the corresponding value parameters for the variable values. Use append to add text to an existing variable. |
Deployment |
Update |
|||
177 |
Update a plan's name or description. Provide a 2-part plan key where the first part is the project key. Variable @planName@ can be used in the name or description parameter to substitution the current plan name. |
Plans |
Update |
|||
178 |
Update a global or plan repository. Be careful to provide all the parameters needed for the repository definition just like on addRepository. If the credentials parameter is provided the appropriate fields will be added automatically for GIT, Mercurial, and Bitbucket Cloud repositories. |
repository or id |
plan, name, credentials, field, field1, value1, field2, value2 |
Repositories |
Update |
|
179 |
Update a plan requirement. |
Requirements |
Update |
|||
180 |
Update stage details. |
Stages |
Update |
|||
181 |
Update a task in a plan job. You must provide the same parameters as if you were creating the task. |
enable, disable, taskKey, field, field1, value1, field2, value2 |
Tasks |
Update |
||
182 |
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. Use append to add text to an existing variable. |
|
plan, append, findReplace, findReplaceRegex, field, field1, value1, field2, value2 |
Variables |
Update |
|
183 |
Validates the CLI Connector is enabled and licensed on the server. |
|
|
Misc |
Check |
|
184 |
Verify build was successful. Throws exception if not successful. If only a plan key is specified, it defaults to latest build. Use wait to loop waiting for the build to complete. |
Builds |
|
Parameters
|
Parameter |
Short |
Value |
Multiple Use Allowed |
Description |
---|---|---|---|---|---|
1 |
|
|
|
Content type to accept for renderRequest if different than type. |
|
2 |
|
|
|
Secret access key for AWS credentials. |
|
3 |
|
|
|
Access key id for AWS credentials. |
|
4 |
a |
|
|
Requested operation to perform. Valid actions are listed at the end. |
|
5 |
|
|
|
Used in orderRepository to name the repository after which the repository will be positioned. Similarly for moveTask where it represent the name or id of the task. Similarly for moveStage where it represent the name of the stage. |
|
6 |
|
|
|
SQL to run after a successful action. Limited to specific actions at this time. |
|
7 |
|
|
|
Agent name. |
|
8 |
|
|
|
App key. |
|
9 |
|
|
|
Append to existing varaibles on updateVariables. For some actions using the file parameter, append will append output to the existing file. |
|
10 |
|
|
|
Build artifact name. May be extended by a path name for locating files within an artifact representing a dirctory. |
|
11 |
|
|
|
Key used to identify a project, plan, job, deployment proejct, or environment to be assigned to a specific agent. This makes the agent dedicated to only perform builds for all assignments. Examples: XXX, XXX-DEF, XXX-DEF-JOB1, Deployment for XXX-DEF, Deployment for XXX-DEF:QA, 77857004-77955436 |
|
12 |
|
|
|
When referencing an agent, automatically create a local agent if it does not already exist. |
|
13 |
|
|
|
Automatically create a stage on moveJob if it does not already exist. |
|
14 |
|
|
|
Indicate that a stage be run automatically. |
|
15 |
|
|
|
Before task name or id. |
|
16 |
|
|
|
Plan branch name normally. In the context of a repository it can reference a repository branch. |
|
17 |
|
|
|
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 |
|
18 |
|
|
|
Capability name (label) or key. |
|
19 |
|
|
|
Comma separated list of plan keys that represent child plan dependencies. |
|
20 |
|
|
|
Clean working directory after each job completes. Use on setJobOptions. |
|
21 |
|
|
|
For run actions, this option will automatically clear an existing file on the first append requested. |
|
22 |
|
|
|
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. |
|
23 |
|
|
|
Comment text. |
|
24 |
|
|
|
Common parameter string added to all run actions. |
|
25 |
|
|
|
Allow overriding environment settings for connect and read timeouts on URL connections. In milliseconds, 0 means infinite. |
|
26 |
|
|
|
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. |
|
27 |
|
|
|
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. |
|
28 |
|
|
|
Copy pattern for an artifact definition. |
|
29 |
|
|
|
Credentials name or id. |
|
30 |
|
|
|
Database name is required for SQL actions. |
|
31 |
|
|
|
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. |
|
32 |
|
|
|
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. |
|
33 |
|
|
|
Database table needs to be created before adding rows. |
|
34 |
|
|
|
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-42.1.4.jar or https://jdbc.postgresql.org/download/postgresql-42.1.4.jar
|
|
35 |
|
|
|
Database user password. Defaults to password. |
|
36 |
|
|
|
Database table name when creating or updating a database from list output. |
|
37 |
|
|
|
Comma separated list of column names used to access existing rows for update. Normally this defines a primary key set for the table. |
|
38 |
|
|
|
Database user name. Defaults to user. |
|
39 |
|
|
|
Requests detail debug output. Optional for all actions. |
|
40 |
|
|
|
Deployment project name or id. |
|
41 |
|
|
|
Description for entity. |
|
42 |
|
|
|
Disable an entity for those entities like plans, stages, jobs, and tasks. |
|
43 |
|
|
|
Docker image for docker job types for Bamboo 6.4 and higher. |
|
44 |
|
|
|
JDBC driver class or predefined value: postgresql, mysql, mssql, oracle, or db2400. Required for SQL actions. |
|
45 |
|
|
|
Enable an entity when updating. |
|
46 |
|
|
|
Character encoding (character set) for text based file content - must be an encoding supported by your JAVA platform. |
|
47 |
|
|
|
Deployment environment name or id. |
|
48 |
|
|
|
Event alias or key. Alias values are: After X Build Failures, All Builds Completed, All Jobs Completed, Change of Build Status, Change of Job Status, Change of Responsibilities, Comment Added, Failed Builds And First Successful, Failed Jobs And First Successful, First Failed Job For Plan, Job Error, Job Hung, Job Queue Timeout, Job Queued Without Capable Agents, Notify After X Consecutive Failures, Notify on All Build Errors. Add-ons provide events identified by key. Example key: com.atlassian.bamboo.plugin.system.notifications:chainCompleted.failedChains. |
|
49 |
|
|
|
Filter out entries that are disabled. |
|
50 |
|
|
|
Filter out entries that are enabled. |
|
51 |
|
|
|
Subset to favorites. Same as favourite. |
|
52 |
|
|
|
Subset to favourites. Same as favorite. |
|
53 |
|
|
|
Use to set client and construct specific fields or variables using name=value syntax. The first equal sign (=) delineates the name from it's value. This provides a more convenient and expandable alternative for setting field or variables and is the recommended approach. Values are trimmed unless single quoted and single quoted strings will have single quotes removed. This provides a more convenient and expandable way to set fields as an alternative to the fields and numbered field parameters. |
|
54 |
|
|
|
Construct specific field or variable name. Value is specified by the value1 parameter. |
|
55 |
|
|
|
Construct specific field or variable name. Value is specified by the value2 parameter. |
|
56 |
|
|
|
Deprecated. Recommend using one or more field parameters instead.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. |
|
57 |
f |
|
|
Path to file based content or result output. Use - for standard input. Use + for getting lines from 'input' parameters. |
|
58 |
|
|
|
Make a final task. |
|
59 |
|
|
|
Successively find and replace matching text with the find and replace values specified using find:replace syntax. The first colon ( delineates the find value from the replace value. Single quote values containing a color and then escape embedded quotes. Deprecated use is a comma separated list of the same. Recommend using multiple parameters instead. The deprecated use case is only valid when the multiple parameter feature is not being used. |
|
60 |
|
|
|
Successively find and replace matching text with the find and replace values specified using find:replace syntax. The first colon ( delineates the find value from the replace value. Single quote values containing a color and then escape embedded quotes. The find value must be a valid regular regular expression and the replace value can contain replacement variables for capture groups like $1, $2, and so on. For some command shells, the $ may need to be escaped. Deprecated use is a comma separated list of the same. Recommend using multiple parameters instead. The deprecated use case is only valid when the multiple parameter feature is not being used. |
|
61 |
|
|
|
Group name. In the case of addUser, a comma separated list of group names. |
|
62 |
|
|
|
Prints this help message. |
|
63 |
|
|
|
Database host server for SQL actions. Not used if url is provided. Defaults to localhost if not provided. |
|
64 |
|
|
|
Stage or task id. |
|
65 |
i |
|
|
Line of input used in place of file data for run actions. One or more input parameters are used as lines instead of using the file parameter. In some cases requiring a file parameter, it may be necessary to use a special value of + to indicate to use the input parameters instead. |
|
66 |
|
|
|
Comma separated list of IP addresses to restrict ability to remotely trigger builds. |
|
67 |
|
|
|
Comma separated list of Jira issue keys. |
|
68 |
|
|
|
Job key. Example: JOB1 |
|
69 |
|
|
|
Comma or blank separated list of labels. When used for filtering, any label will satify the filter condition. |
|
70 |
|
|
|
Maximum number of list entries to return. Some actions or environments may impose a more smaller default limit. |
|
71 |
|
|
|
Comma separated list of entries to populate the entry replacement variable on runFromList. Single quote values containing a delimiter. Embedded quotes must be doubled. |
|
72 |
|
|
|
Comma separated list of entries to populate the entry2 replacement variable on runFromList. Single quote values containing a delimiter. Embedded quotes must be doubled. |
|
73 |
|
|
|
Working directory relative path to a source location for an artifact definition or a destination location for an artifact dependency. |
|
74 |
|
|
|
Indicate that a stage be run manually. |
|
75 |
|
|
|
Name of entity, like plan name. |
|
76 |
|
|
|
Build number. Defaults to latest. |
|
77 |
|
|
|
Comma separated list of support, experimental, or other client or action specific options. |
|
78 |
|
|
|
Specify output format for a list actions. Output format determines what columns are retrieved for the list. More columns usually take longer to retrieve. |
|
79 |
|
|
|
CSV output from get list actions and pretty print output from get actions can optionally be converted to plain text, HTML, or json based on the value of this parameter. Get actions also support the variables output type to set replacement variables for use in a CLI run script. Valid values are: text, table, html, json, variables. |
|
80 |
p |
|
|
User password for remote access. This is a required parameter for most actions. |
|
81 |
|
|
|
Plan key containing the project key. Preferred way to reference a plan instead of the older build terminology. Example: XXX-DEF |
|
82 |
|
|
|
Database host port for SQL actions. Optional, defaults to database default. Not used if url is provided. |
|
83 |
|
|
|
Project key. Example: XXX |
|
84 |
|
|
|
Project name. |
|
85 |
|
|
|
Property file with database parameters, field mappings, or client specific information. |
|
86 |
|
|
|
Limit some output messages. Optional for all actions. |
|
87 |
|
|
|
Recipient value for add notifications. Many recipient types need a primary recipient value. This parameter can be used instead of setting a recipient type specific field and value. |
|
88 |
|
|
|
Recipient type alias or key. Alias values are: CLI, Committers - Users who have committed to the build, Email Address, Group, IM Address, Responsible Users, User, users who are responsible for the current failure, users who have committed to the build, users who have marked this build as their favourite, Watchers - Users who have marked this plan as their favourite. Add-ons provide recipient types are identified by key. Example key: com.atlassian.bamboo.plugins.bamboo-slcak:recipient.slack. |
|
89 |
|
|
|
Reference to a replacement key value used to remember an action specific value like issue key, entity id, or similar so it can be referenced later. Each action that allows this parameter will specify that the reference parameter is valid for the action. |
|
90 |
|
|
|
Regular expression for condition matching or list filtering. |
|
91 |
|
|
|
Replace existing entity on add, create, or similar actions. |
|
92 |
|
|
|
Name of a repository. In some cases, a comma separated list of repository names. |
|
93 |
|
|
|
Repository key that uniquely identifies the repository type. Example: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:hg |
|
94 |
|
|
|
URL fragment for a request. |
|
95 |
|
|
|
URL request parameters or post data. |
|
96 |
|
|
|
Type of a render request like GET or POST |
|
97 |
|
|
|
For an artifact definition, tells Bamboo to fail the build if artifact is not available. |
|
98 |
|
|
|
Plan requirement key, either a custom key or a system capability key or name like system.builder.ant.Ant or Ant. |
|
99 |
|
|
|
Revision id or tag. |
|
100 |
|
|
|
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. |
|
101 |
s |
|
|
Server URL. Normally the same URL used when using a browser to access the server. This is a required parameter for most actions. |
|
102 |
|
|
|
For an artifact definition, makes the artifact available for other builds. |
|
103 |
|
|
|
Simulate running actions. Log the action that would be taken. |
|
104 |
|
|
|
Ordered list of alternate characters for comma ( , ), colon ( : ), at ( @ ), quote ( ' ), and double quote ( " ) characters used for specialized processing of some specific parameters. |
|
105 |
|
|
|
SQL select statement used to generate a run script. |
|
106 |
|
|
|
Paraphrase for SSH credentials. |
|
107 |
|
|
|
Stage name. |
|
108 |
|
|
|
Comma separated list of keys that represent plans that must be successful before a build is triggered. |
|
109 |
|
|
|
Target server user password. Defaults to password parameter. |
|
110 |
|
|
|
Target server URL. Meaning is action specific. For addRepository, used to access Bitbucket Server information. |
|
111 |
|
|
|
Target server user. Defaults to user parameter. |
|
112 |
|
|
|
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. |
|
113 |
|
|
|
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. |
|
114 |
|
|
|
Wait timeout in seconds. Use -1 to wait forever. |
|
115 |
|
|
|
Plan key to be created. Example: XXX-DEF |
|
116 |
|
|
|
Project key to clone to. |
|
117 |
|
|
|
Deployment environment name or id. |
|
118 |
|
|
|
Capability type like Executable, Custom, or JDK.Also, requirement match type with values: exist (default), equal, match. Also, content type for renderRequest and trigger type for addTrigger. Also, job isolation type like agent or docker. |
|
119 |
|
|
|
Action specific setting. Example: Database access url for SQL actions. Optional when host is provided. |
|
120 |
u |
|
|
User name for remote access. |
|
121 |
|
|
|
User email for user management actions. |
|
122 |
|
|
|
User name for user management actions. |
|
123 |
|
|
|
User id for user credentials and user management. |
|
124 |
|
|
|
User password for user credentials and user manaagement. |
|
125 |
|
|
|
Field value or condition value for matching. |
|
126 |
|
|
|
Value corresponding to the field1 parameter name. |
|
127 |
|
|
|
Value corresponding to the field2 parameter name. |
|
128 |
|
|
|
Requests verbose output to help with problem determination. Optional for all actions. |
|
129 |
|
|
|
Version name for deployment or app. |
|
130 |
|
|
|
Wait for action to complete. |
Parameter Tips
Common parameters
A few common parameters are available that are not specifically listed as optional parameters for each action: help, verbose, 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, dbJar, host, port, dbCreateTable, 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.
Position | Character | Character name | Suggested alternate | Usage |
---|---|---|---|---|
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.
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.