Versions Compared

Key

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

...

Page Properties


Description

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.

Required Parameters

plan, type

Optional Parameters

description, repository, schedule, successfulPlans, ipRestriction, disable, field, field1, value1, field2, value2

Type

Create

Category

Triggers

Output Formats

Replacement Variables

triggerId

Since Version

Examples

addTrigger


Related How To's

Cql query
showLastModifierColumnfalse
showQueryfalse
showCreatorColumnfalse
showLastModifiedDateColumnfalse
cqlQuerylabel = 'cli-action-addTrigger' and label = 'cli-howto' and label = 'cli-product-bamboo' and space = SUPPORT
showCreatedDateColumnfalse
showTypeColumnfalse
showSpaceColumnfalse
showLabelsColumnfalse