I need to run a select query to check the number of issues in each project
This is what I used but it gave me the total number of issues in JIRA (constant) against each project
select jira.project.pname, count(jira.jiraissue.pkey) from jira.project, ji ra.jiraissue group by jira.project.pname;
Here's a snippet of the output
SQL> select jira.project.pname, count(jira.jiraissue.pkey) from jira.project, jira.jiraissue group by jira.project.pname;
PNAME
--------------------------------------------------------------------------------
COUNT(JIRA.JIRAISSUE.PKEY)
--------------------------
NCB Migration - FSRM Round2
17727
NCB Interim Solutions
17727
NCB Migration - CH_NOBOOK
17727
PNAME
--------------------------------------------------------------------------------
COUNT(JIRA.JIRAISSUE.PKEY)
--------------------------
NCB Performance IE7 - IE8
17727
NCB Migration - FSM1A
17727
NCB_Project1
17727
PNAME
--------------------------------------------------------------------------------
COUNT(JIRA.JIRAISSUE.PKEY)
--------------------------
NCB-UBS
17727
NCB Migration - FSRM
17727
NCB Migration - FSM2
17727
I guess there's something wrong with the query.
Thanks,
Saneth