I've been using the Script Runner plugin in Jira for pretty much anything under the sun. It's really a great plugin for finding out details about the running Jira instance, and I've worked up quite a collection of scripts that I use more or less frequently.
I've installed the Script Runner (3.0) on our Confluence instance, and I'm having less luck.
The API's seem to be quite different, and I am struggling to get a "way in", so to speak.
In Jira, all things start from the ComponentAccessor. Is there a similar component in Confluence?
I do most of the scripting in the scripting console.