Versions Compared

Key

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

...

Since each Work Item may have multiple executions with multiple plugin steps and reports, you can optionally zip all attachments for the Work Item and only upload the single zip file.

Updating the Status

The status of each Work Item can be changed by specifying a status in the Status field. There are 3 options for specifying a status:

  1. Literal Text - The default, each Work Item will attempt to have its status changed to the text value provided here. This is the easiest and simplest approach if all of your Work Items allow the same statuses.

  2. Groovy Expression (String/Text) - A Groovy expression can be used for more dynamic behavior. When using a Groovy Expression you can return a simple string or text that will be used for each Work Item.

  3. Groovy Expression (Map) - The most advanced option but also the most dynamic. The Groovy script can should return a map of [workItemNumber: new_status]. This is most useful if you need to assign different statuses based on the Work Item. When using a Groovy script their There is an exposed variable WorkItems that contains all Work Items considered for update. The below script is an example that assigns different statuses depending upon the prefix of the Work Item Number.

...