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.

Cheers,

1 answer

0 votes
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.

Danke!!!

Thomas Schlegel Community Champion Jul 05, 2017

Bitteschön :-)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,968 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot