How do I integrate component filtering in my filter query?

(please forgive my very basic knowledge of JIRA)

I already have another condition in my filter query, but I want to add component filtering on top of it.

This is my first part: project = RTD ORDER BY Rank ASC

It works, so far so good. But I want to add about 12 components too.

What would be the correct syntax and way to separate them.

Thanks for your help.


1 answer

0 vote
Thomas Schlegel Community Champion Jul 05, 2017

Hi Ariane,

you can combine different conditions with AND or OR, so your JQL would look like:

project = RTD and component = <...> order by rank ASC

or if you want to query more than one component:

project = RTD and component in (component1, component2, ...) order by rank ASC


Hey Thomas, thank you for this quick reply!

The query will not accept "AND" or "and" after "project = RTD ORDER BY Rank ASC". 

It doesnt accept "in" either and suggests ASC. If I use ASC and then (component1, component2,...) it says it cant sort using the component I mentionned.

Am I missing something?


Thanks again,

Thomas Schlegel Community Champion Jul 05, 2017

order must be the last command in your query. 

Try it first without the "order by":

project = RTD and component = ...

Dude omg that woked, thank you so much.

The veil has lifted, i can see clearly again.


You are my hero.


Thomas Schlegel Community Champion Jul 05, 2017

Bitteschön :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

763 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you