...
Select Run > Default Script Context. The Script context configuration window opens.
Enter the issue key of the issue you want to test on.
Select OK.
Note: Leave the Issue Key field empty if you don't want to run the script in an issue context.
...