Just learning Jira and came across scripting using Groovy. I take it this is part of the ScriptRunner addon from Adaptavist? Anyway, when in the editor, how do I know what classes and objects are available in-scope. Is there a set of docs , a Reference manual that provides the classes, objects, methods, attributes and so on. Hard to code if one does not know what artefacts are available.
Thanks
There's no real "reference model", as Scriptrunner mostly works by getting your scripts access to Jira's API - that's almost all of the classes, objects etc you'll be working with and those are documented at https://developer.atlassian.com/server/jira/platform/java-apis/
https://docs.adaptavist.com/sr4js/latest have some useful guides and getting started things, and https://library.adaptavist.com has lots of simple do-one-thing scripts that you can use as examples to build upon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.