Skip to end of banner
Go to start of banner

How to run multiple actions on a single post function

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

The Action field accepts only a single action. To run multiple actions in a single post function, you need to use the run action and provide a list of actions to run in the Data field. This is the same as you would do from the command line when it is important to use Substitution variables in subsequent actions.

Example

Action
--action run --common "--project %project%" --server https://examplegear.com --user automation --password automation
Data
-a createIssue --type %original_issueType% --summary "%original_summary%" --priority %original_priority%
-a linkIssue --issue @issue@ --toIssue %original_key% --link "relates"
-a setFieldValue --issue @issue@ --field custom2 --values "%original_custom2%"
-a addLabels --issue @issue@ --labels %original_key%
  • No labels