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.
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.