That's what the script I pointed to does. If it's a post-function, it'll have $issue available. The console will not, you will need a line of code to tell it what issue to work with.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.