Project count?

Mike Smith May 10, 2015

Is there a way to count the number of projects using a particular plugin, such as structure?

4 answers

0 votes
Gab Bautista May 11, 2015

It depends on what plugin, which some are not traceable, some are not. It's still possible though to check the logs and parse the results

0 votes
Mike Smith May 11, 2015

I apologise, the question does not read as I intended it. 

I'd like to find out how many individual projects are taking advantage of a plugin. For example, out of X number of projects, there are Y projects using a certain plugin. 

I hope this clears my question up a bit. 

0 votes
Vijay Sv May 10, 2015

Alternatively you can use below Script to get the number of projects in the Jira instances

//-------------------------------------//

import com.atlassian.jira.ComponentManager
import com.atlassian.jira.project.ProjectManager

ProjectManager manager = ComponentManager.getInstance().getProjectManager()
return "There are ${manager.getProjects().size()} projects"

 

0 votes
Daniel Wester
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.
May 10, 2015

It depends on the plugin. If it's a custom field you might be able to take a look at what issue types have a value. Otherwise you'll probably have to contact the vendor to see if they know how to pull information. Reason being that every add-on can store data differently (depends on functionality etc).

Suggest an answer

Log in or Sign up to answer