Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
We've encountered an issue exporting this macro. Please try exporting this page again later.
Excerpt

Example 1 - By name

Code Block
Color = "Red";

Example 2 - By id

Code Block
customfield_12345 = "Blue";

Example 3 - By alias

Code Block
productColor = "Green";

NOTE: This script assumes that it is running in the context of an issue. Like in a workflow script or listener for example. If you would like to test this script from the SIL Manager, add an issue key to test with under the Run Configuration setting (Run > Run Configuration > Context).