Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Board: filter component does not work

We have currently 2 Kanban boars in our Jira Project (server). The idea is to show the issues of one component on the first and all others on the second.

The query for the first board is: "project = P1 AND component = X ORDER BY Rank ASC" and works as intended.

The query for the second board is unsurprisingly: "project = P1 AND component != X ORDER BY Rank ASC" and this has unexpected results: ONLY issues that have a component show up.

Most of the issues don't have a component and they don't show up on the second board.

In my opinion "(none)" != "X" and therefore all "component: None" should show up.

Anyone a suggestion how to mend or work around this?

(I know one workaround already and that is some manual labour to set a dummy component for all component-less issue but I don't consider that an answer.)

1 answer

1 accepted

0 votes
Answer accepted
Flavien Gache Community Leader Nov 04, 2020

Ok you can try this, depending on your Server version it might not work : 

project = P1 AND component in (EMPTY, Component Z, Component R)

Just replace the Component Z, Component R by all the components you have in the project. It might be a long JQL query but if you don't have many new components often it could work.

This solution might work too :

project = P1 AND component != X OR component is EMPTY

 

Tell us if it worked. ;)

Yes, it worked with a minor change.

Only thing I had to add were parentheses around the "OR" part, otherwise it adds all EMPTY components from all projects. ;-)

Query: "project = P1 AND ( component != X OR  component is EMPTY ) ORDER BY Rank ASC"

Note, I found that I can use both "... is EMPTY" and "... = EMPTY". Is there no difference between them? 

Thanks a lot for the prompt answer. :D

Like Flavien Gache likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you