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.
JIRA_URL/jira/rest/plugins/latest/
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.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mike Schultz ,
You can read this documentation https://developer.atlassian.com/server/framework/atlassian-sdk/plugin-module-index/
Regards,
Soumyadeep (SaM)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.