The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Query to fetch the project based on the project category

Sakthi Balaji
April 16, 2014

Need to list the project in the JIRA baed on project category, i need a DB query.

Thanks in Advance

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Boris Georgiev [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 Champions.
April 16, 2014
SELECT  project.id as "project id",pname as "project name", projectcategory.id as "category id",cname as "category name" FROM "NODEASSOCIATION" JOIN PROJECT on source_node_id= project.id JOIN projectcategory on sink_node_id=projectcategory.id where SINK_NODE_ENTITY='ProjectCategory'

0 votes
Sakthi Balaji
April 16, 2014

Thanks Boris that query worked for me .