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

Danke!!!

Thomas Schlegel Community Champion Jul 05, 2017

Bitteschön :-)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

737 views 3 11
Read article

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