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
atlassian, confluence, marketing templates, confluence templates, marketing project management, content strategy, campaign planning, marketing collaboration, confluence for marketers, atlassian learning, marketing workflows, confluence best practices

5 must-use templates for Marketing teams (from a Confluence Marketer!) 👩🏻‍🎨

Who doesn’t love a good template? We sure do! Check out our top template picks for Marketing teams who want to streamline their processes, enhance collaboration, and take their marketing to new heights.

Read more 📚
AUG Leaders

Atlassian Community Events