How to know if a JIRA plugin is being used

Hi,

I have a plugin that provides gadgets. However, I don't if this plugin is actually being used by some users or not.

Is there any query where I can find if there are instances of gadgets provided by this plugin?

Thanks in advance,

1 answer

1 accepted

Accepted Answer
0 votes

Gadget types are identified by a FQN like string like "com.whatever:mygadgetname".

If I were you:

  1. Try to find which database table contains the dashboard to gadget instances relations
  2. Filter through that for gadget type you are after

 I don't know the details of the underlying database schema, and the relations may be more complicated than what I suggest above, but the method I suggest should work regardless.

Actually I got a tip  and this do the trick:

SELECT portalpage, gadget_xml, count(*) FROM portletconfiguration WHERE gadget_xml LIKE '%YOUR-PLUGIN-KEY%' GROUP BY portalpage, gadget_xml;

Cool, then mark this answer with the checkmark so that future users will find the solution.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,174 views 2 7
Join discussion

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