Forums

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

is there a way how to create a report that will show projects by project categories ?

Elena Moussikaev July 10, 2017

is there a way how to create a report that will show projects by project categories ?

1 answer

0 votes
Rachel Wright
Community Champion
July 10, 2017

Hi Elena,

If you have JIRA Server, you can get this information from the database. Here's a MySQL query to get you started:

SELECT p.pkey, p.pname, pc.cname AS "category" FROM  project p, projectcategory pc, nodeassociation na WHERE  na.source_node_entity = 'Project' AND  na.sink_node_entity = 'ProjectCategory' AND  na.source_node_id = p.id AND pc.id = na.sink_node_id

NOTE:  Uncategorized projects will not be returned.

Hope this helps!

Rachel Wright

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events