Child pages
  • How to Customize the Bugs Workflow

Versions Compared

Key

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

...

Below is the explanation of the action script syntax and tags.

Conditions

Anchor
conditions
conditions

Bugs must meet specific conditions to be eligible for the action. These conditions are defined outside or inside the action tags using the condition tag and then used in the action element.

...

The Condition element has two child tags, both of which are mandatory:

...

Tip

The Workflow.xml file uses the same syntax as the Query Builder for conditions definition, so the statements can be first created in the Query Builder and then copied to the XML file. To do that, create the query with the required filter in the Query Builder, right-click the created query in the navigation pane and select Copy. Then paste it in the XML file.

Action Script

Action script is provided in the set tags and defines a number of changes that are made to the bug as a result of the action (the action that defines no changes does not make sense, but is valid). Each script element defines which field of the bug is altered and how.

...