When is the issue object available by default in the script editor?
The issue object is available in the following contexts:
The issue binding variable is only available for events that contain a single issue object. This means only issue events (excluding issue link events).
Not available on the Create screen.
You will have to declare a specific issue object in the following contexts: