How to access add-on epxpiration information with rest api

Hello All,

I need a way to retrieve information about add-ons/plugins we have installed in our jira instance with rest api. If someone has such expirience or can address me to relevant documentation I will appriciate!

Thank you in advance


1 answer

Hi Eitan,

The Adaptavist ScriptRunner plugin has a feature that allows you to create your own REST endpoints.

You can create a script that will return you the information you need and create your own endpoint to do the job:

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.startup.PluginInfoProvider
import groovy.json.JsonBuilder
import groovy.transform.BaseScript


@BaseScript CustomEndpointDelegate delegate

plugins(httpMethod: "GET", groups: ["jira-administrators"]) { MultivaluedMap queryParams, String body ->

// Get a list of all of the plugins currently installed in this JIRA instance
def pluginInfoProvider = ComponentAccessor.getComponent(PluginInfoProvider)

def result = [
// ::.. You can uncomment this line to get the system plugins if you need them, maybe even parameterize it :-) ..::
//"systemPlugins" : pluginInfoProvider.getSystemPlugins(),
"userPlugins" : pluginInfoProvider.getUserPlugins()

return Response.ok(new JsonBuilder(result).toString()).build();

We have a documentation that will walk you through setting up your endpoint @ Custom REST Endpoint

You can find us in the Atlassian Marketplace

I hope that this helps you solve your issue!


Hi Eitan,

Did this resolve your issue? Are you still having issues with this??

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,033 views 6 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot