Skip to end of banner
Go to start of banner

Working with Standard Fields

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 3 Current »

For standard fields an alias has already been created and is ready for use. For
more information about using standard fields see: Variable resolution

Getting Values

Example 1

string oldSummary = summary;

Example 2

string oldDescription = description;

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).

Setting Values

Example 1

summary = "This was easy to set with SIL!";

Example 2

description = "This was easy to set with SIL!";

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).

NOTE: This information only applies to standard fields. For more information on custom fields
see Working with Custom Fields.

  • No labels