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 for all issues with more than one component

Ravi Dandu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2019

Need a Jira Query for all issues which have more than one component.

 

Each EPIC has a list of components that it effects. I want to query for all issues with two or more components listed. These will need to be discussed across teams, hence the interest in them. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
DPKJ
Community Champion
September 3, 2019

@Ravi Dandunumber/count query as parameter is currently not possible in stock JQL provide by Jira.

If you have limited number of component, you can use `AND` to find issue which has more than one component.

Let us say you have 4 components, 'A', 'B', 'C' and 'D'. you can write query like this to find issues which has component A and one or more other component,

component = "A" AND component IN ("B", "C", "D")

After this it will an overhead on you to merge list of issues. You can use excel export to do this.

Moreover, you can look into various JQL extension plugins in marketplace, like "JQL Tricks", "JQL Search Extension" and "ScriptRunner" etc.

Naveen Pendly
May 16, 2022

@DPKJ We have more than 100 components in project, we required query for all issues with more than one component 

Thanks,

Naveen 

TAGS
AUG Leaders

Atlassian Community Events