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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,305 views 12 19
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