Hello. I would like to run a query in the scriptrunner console to check if a plugin's module is enabled. Does anyone know how I can go about this? All of the examples online are from 2013 or earlier.
You can get this information using REST API without using ScriptRunner. Try this end point.
If you want to use ScriptRunner then you will find a script here in our library. It is using the end point I shared above but of course doing a bit more, like it will create a nice table for you using a Confluence macro. Do give it a try. You can trim it down to work directly in your console.