Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get installed plugins using java in confluence?

Abdurashid Vakhobov June 25, 2019

I need to get installed plugins list in java preferably. I looked at several confluence packages but could not find any. Your help is appreciated.

1 answer

1 accepted

0 votes
Answer accepted
Santwana Sarangi {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2019

Hi @Abdurashid Vakhobov ,

You can use PluginAccessor to get the installed plugin list. Please find the java doc as https://docs.atlassian.com/atlassian-plugins-core/2.8.0/atlassian-plugins-core/apidocs/com/atlassian/plugin/PluginAccessor.html

Also, you need to include the respective dependency in your pom.xml and component-import for this package in the atlassian-plugin.xml. 

Or you can use rest api to get the installed plugin details

https://ecosystem.atlassian.net/wiki/spaces/UPM/pages/6094960/UPM+REST+API

For more information on the rest api, please check this link https://community.atlassian.com/t5/Confluence-questions/List-of-user-installed-plugins/qaq-p/76276

 

Hope this helps!

Thanks,

Santwana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events