Hello Community,
I am strarting to dig little bit deeper into JIRA/Confluence and I would like to start using ScriptRunner. I know basic concepts and I read the Adaptivist ScriptRunner documentation. My question is: How do you know what classes should be imported into particular script? Is there any list of all classes that could be used and when they should be used?
Thank you,
Jakub
This is not something we can simply list for you. A script needs to import the classes that it is going to call, and there's no way we can know what classes any script you write might use.
Every line of code you put in a script *might* need a different import.
As for what you might import, start at https://developer.atlassian.com/server/jira/platform/java-apis/ and select the product (Core, Software or Service Desk). When to import is harder to document, but really does come back to "when you need to use it"
Thank you @Nic Brough -Adaptavist-,
I thought it´s not going to be that simple.
Have a good day,
Jakub
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.