Groovy is based on Java, a good starting point is http://groovy.codehaus.org/. You can directly use the documented Java API of JIRA (see Atlassian API Reference). I think a good way to start ist to look at the examples in the Script Runner documentation and the scripts provided by Script Runner and maybe the Atlassian developer docs.
For changing the status you have to transition the issue through the workflow. You could use the built-in fast transition postfunction of Script Runner or you can do it on your own like described here. https://developer.atlassian.com/display/JIRADEV/Performing+Issue+Operations
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs