Versions Compared

Key

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

...

The value can be a constant provided in the Value field of:

The value can be the result of a Groovy expression provided in the Value field of:

The value can be the result of a Groovy template provided in the Value field of:

...

Groovy Expression

The value can be a Groovy expression that returns,

  • a String that will be converted to the type expected by the field being set as detailed above in the Raw value section.
  • an array of Strings (String[]) that will be converted to a Collection of objects of the type expected by the field being set. For example, ["2.0","3.0"] to set the Affects Version/s to 2.0,3.0
  • an object of the type expected by the field being set. For example, issue.get("reporter") returns a user object to set the Assignee field.
  • a collection of objects expected by the field being set. For example, issue.get("versions") returns a collection of version objects to set the Fix Version/s field.

...