Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why do not all colours appear when using color cards based on queries?

Karen Gessner
May 7, 2020

Queries contain labels and/or status information. If a ticket is coloured by a status query it seems that the labels-query is not activated though there is a separate query for this case. Resulting in: if a status is "done" (grey colour) the ticket will not change the colour to light red if the label "blocked" is added. Please refer to the queries, what is wrong there?

queries.png

1 answer

0 votes
John Funk
Community Champion
May 7, 2020

Hi Karen - Welcome to the Atlassian Community!

The colors are in a hierarchical order. So if the issue meets the query at the top, it will be that color. If not, it goes to the next color down, etc. 

In your case, grey is at the bottom so it will always be overwritten by one of the higher queries. If you want grey to be the top one, simply click on it and drag it up to the top. 

Karen Gessner
May 11, 2020

Hi John, thanks for stepping in!

I have read about the hierarchical order and I thought my order matches with the outcome I want to reach, but it does not.

So in my example the highest order ist for blocker (labels = blocked), and they appear in red. So far so good.

In my first try there was only one further query in second order: if status is in one of the done-status the cards appear in grey. Again, so far, so good, works fine.

Now I have trouble with a card in of of the status = done AND labels = blocked. This one still apears in grey. According to the hierarchy it should be red (that ist the outcome I want to have).

Therefore I added the second query for red colour with "labels.. AND status...". This one is again higher in the hierarchy than the query with grey colour.

Both variations (wiht the extra query and without) do not work. Do you have any further idea?

John Funk
Community Champion
May 11, 2020

If your top query is labels = blocked, why would you include that same parameter in another query below it as it should never get to those. I would take the labels = Blocked out of the subsequent (lower) queries and try that. 

Karen Gessner
May 11, 2020

Your suggestion was my first try, tried it again just now, did not work. If "blocked" and "status done" the resulting colour is grey.Anmerkung 2020-05-11 141552.png

John Funk
Community Champion
May 11, 2020

Are you sure the value in the card for labels is exactly the same? Labels must match exactly including case.

Karen Gessner
May 11, 2020

Yes, I am. There is another card "blocked" (status doing) and it appears in red.

In the card which does not appear in red the value "blocked" is similar.

John Funk
Community Champion
May 12, 2020

Maybe run each query in the regular filter view and see if you see the same cards in both queries. 

The other question I would have is, why are you not just using the Flag functionality in Jira to show blocked cards? The query would be much more straight forward then. 

Labels are full of landmines to base queries on in my opinion. We typically will use Components instead because of the pitfalls with labels. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events