Intro
(If you haven’t read the previous post in this series, I highly recommend starting with that.)
In order to make use of the Jira API documentation, we need to understand what classes, packages, and methods are. That’s because the JIRA API is documented, but only in the most technical sense. It is predicated on you having some knowledge of Java. You can go to https://docs.atlassian.com/software/jira/docs/api/latest and get information about all of the internal libraries that Jira uses to function, but it’s not much good to you without that prior knowledge.
At the same time, knowing how to read and make use of the API documentation is a vital skill when it comes to working with ScriptRunner. All of Jira’s functionality is available for you to use, but only if you can harness it through the power of classes.
What’s the Problem?
The problem I ran into when I was first starting to learn how to use ScriptRunner is that very little is written in a context that a beginner could make use of, and few examples are provided. A lot of the Jira’s internal functions are interdependent, and someone who is new to both Groovy and Jira