Forums

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

After changing the filter of my board so that it can see tasks from 2 different projects, I get this

george_he October 18, 2020

Here is the query filter set for my board

project = XYZ OR project = ABC AND "Epic Link" in (ABC-2, ABC-4, ABC-5, ABC-49, ABC-84, ABC-115, ABC-135)

originally it included the "order by rank asc" at the end, i read else where that taking it out will fix it, but it didnt. I am not seeing why that query would prevent re-ording of the backlog items. literally just moving things above and below.

How can i regain that?

 

thank you.

2 answers

1 accepted

0 votes
Answer accepted
Hana Kučerová
Community Champion
October 18, 2020

Ah, sorry, thank you for the clarification. If I get it right, your JQL should look like this:

project = ABC OR (project = XYZ AND "Epic Link" in (ABC-2, ABC-4, ABC-5, ABC-49, ABC-84, ABC-115, ABC-135))
  1. project = ABC ...  all the tasks in project ABC
  2. project = XYZ AND "Epic Link" in (ABC-2, ABC-4, ABC-5, ABC-49, ABC-84, ABC-115, ABC-135) ... all the tasks in project XYZ, which have specific Epic Link
  3. join two subqueries with OR
george_he October 18, 2020

I figured it out actually, turns out i just needed to turn on the Rank toggle under General in the Board settings. apparently it got toggled off when I created a new custom query. 

0 votes
Hana Kučerová
Community Champion
October 18, 2020

Hi @george_he ,

the problem is probably in the mixture of AND and OR.

Try to change it like this:


project in (XYZ, ABC) AND "Epic Link" in (ABC-2, ABC-4, ABC-5, ABC-49, ABC-84, ABC-115, ABC-135)
george_he October 18, 2020

I tried that when I was first writing out the query, when I put AND, it would not display anything cause its only showing me tasks that belongs to both projects at the same time. to which there are none.

what i need the filter to do is to show me all the tasks of project ABC, as well as all tasks belonging to project XYZ's specific epics.  which is why i put OR. so it can show either or.

Suggest an answer

Log in or Sign up to answer