sql query to retrieve all component in jira database

Fidelidade JIRA Admin June 14, 2021

Hello, Good Day

Can someone help me?

I would like to get the list of all created components that are in Jira's database.

Thank you

1 answer

0 votes
Niranjan
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 14, 2021

Hi @Fidelidade JIRA Admin ,

The query should give all compoents in JIRA

Select * from component ;

 

Quoting another SQL from here

SELECT count(ji.id), c.cname FROM jiraissue ji 
INNER JOIN nodeassociation na ON ji.id = na.source_node_id
INNER JOIN component c ON na.sink_node_id = c.id
GROUP BY c.cname

Suggest an answer

Log in or Sign up to answer