We run Data Center and I can execute SQL. We need to provide a list of all our configured Project/Component combinations.
The closest thing I found online works all the issues and reports the count of issues by Component, which is close I suppose but comes short of the goal.
Can someone help with this query please? Thanks!
Here is a simple SQL that will list all the projects and their components with some of the component details:
Select
p.pname,
p.pkey,
c.cname,
c.description,
c.LEAD,
c.ASSIGNEETYPE,
c.ARCHIVED,
c.DELETED
From
project p Inner Join
component c On p.ID = c.PROJECT
You can decide whether or not to include archived or deleted components.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Robert Leachman
What exactly is your goal?
This will get you a list of all the components and the project with which each one is associated, with all the information for each component and project record.
SELECT * FROM component as "co"
left join project "pr" on co.project = pr.id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Trudy!
My company drives issue triage from the Project/Component combination and we want to audit our Jira configuration and make sure it matches up properly to the business teams. Lots of meta beyond listing the Project Lead.
Your query is great!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.