How to make a JQL query for issues with multiple components

Antoine picture Antoine · Aug 30, 2011 · Viewed 8.6k times · Source

I'd like to query all issues in JIRA that are associated with more than 1 component. Is that feasible in JQL, and how?

Answer

hawk8 picture hawk8 · Jul 18, 2014

I didn't find a solution that was feasible in JQL. I also don't believe I have the ability to write JQL functions so I didn't get to explore that route.

I needed to be able to get a list of my tickets with multiple components. I did this by exporting my tickets to excel and then added a column which checked the cell in the same row in the Components column:

=IF(ISNUMBER(SEARCH(",", P5)), "Multi Components", "Single Component")

This checks the cell for the partial text ",". If it has the comma, Multi Components is returned.