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.
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.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events