...
Select Run > Default Script Context.
Enter the issue key of the issue you want to test on.
Note: Leave the Issue Key field empty if you don't want to run the script in an issue context.
Explicit Context
You can create an explicit reference to the issue context by entering key before the custom field.
...