I'm trying to create a query to change the card color on our Kanban board if there is a linked issue on the card. The JQL does not allow for linkedissue not= null or empty so unless I create a query that says linked issue is not ABC-123, then it appears that all cards even those with no link get colored.
I have created a query for issueLinkType != "created by" as a workaround since we do not using the link issue type of "Created by" but the board only shows a few cards with the color and not all that apply for the linked issue type, for example "relates to".
This should work. It's important to note that the card color is just a bar along the side of the cards. The little Green checkbox indicates that JIRA understands the query. It should understand the type of link, as well as IS EMPTY and IS NOT EMPTY syntax
Hope this helps!
I tried issueLinkType is not Empty and it turned all my cards to the color strip yellow even if they don't have a link. I think something is broken in JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you post a screenshot of what you're doing in that field? If you have any logic in the card colors field, you'll get card colors for all of them (one for the query, and one for anything that doesn't match the query).
In my case, I have one card color for when IssueLinkType is not EMPTY (Red), and all the other cards get a grey color strip.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just want cards to have a color strip only if linked to another issue. I don't want a color on other cards but all my cards turn yellow with this issueLinkType is not EMPTY, even if they do not have a linked issue. I do not have any other queries for colors set up. Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to confirm, you have NO linking on the other cards? No Epic link, no parent link? What color are they turning (mine also change to a grey color for anything outside the query parameters I have set out for my project).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The cards all have epic links but not all have linked issues. I'm trying to have a color on the cards only if they are linked to another issue. I have no other queries set up and all are turning yellow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case you'll have to set up the query to explicitly look for all the link types by name. Epic links and Parent links are a type of link, so it will consider them as Linked, and will therefore color the cards.
For example, try "IssueLinkType = Blocked OR IssueLinkType = Relates OR ..."
One other thing - links are 2 way - so even if you select "Blocks", if you can see the linked ticket on your board (which will have "blocked by" as the link type), it will also color it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.