Well, the stuff you do with $issue is basically calling the java api behind it - have a look at the api docs for the relevant version of Jira.
Also, if a .vm is not behaving, it can be useful to use simple brute force. What does $issue show? Or $issue.getStatusObject() ?
If all you get is $issue, then the $issue velocity variable doesn't have an issue in it. There's no way any code is going to work - there's nothing to do!
You need to have a $issue to work with.
(Although, I just noticed you've said "$ issue", not "$issue" - make sure you are using $issue)
Hi all! Lauren here from the Enterprise Cloud marketing team. I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG