Forums

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

Epic filter when using differente panels

Ricardo Jose Micheleto Maia Filho January 18, 2023

Hello guys, in my project I need to separate the epics and historys in 3 panels, like 3 differente teams, each one with your respectives epics, roadmap and historys. When I created the new panel it pulled all epics and historys from the original one, I founded a way using the board filter to only show the historys from the Epic I want, but I couldn't manage a way to pull the epic itself together. Actually I founded a way, but it is not permiting me to use the roadmap and create a new separate sprint in the second panel. Look example:

1-) All 3 panels the I want to use:
ex 1.png
2-) The original panel with all historys and epics:
Ex 3.png
3-) When i use this filter I pulled only the historys from the especific epic. That way i can create a new sprint and use the roadmap, diferente from the original panel.

Cod.: project = CGDF AND issuetype in (Epic, Story, Task) AND "Epic Link" in (CGDF-34, CGDF-55)

ex 2.png

Ex 4.png
4-) When I try to use this second code I manage to have my epics but I can't open a sprint and use the roadmap.

Cod.: project = CGDF AND issuetype in (Epic, Story, Task) AND "Epic Link" in (CGDF-34, CGDF-55) OR "Epic Name" = "Homologação - Fornecedores" ORDER BY Rank ASC

ex 5.png
ex 6.png
ex 7.png
the message that appears says: Only a Jira admin can update this sprint. Try selecting a project from your current filter.


1 answer

0 votes
Ricardo Jose Micheleto Maia Filho January 18, 2023

@Trudy Claspill could you manage to help me in this one?

Trudy Claspill
Community Champion
January 30, 2023

Hello @Ricardo Jose Micheleto Maia Filho 

The issue is you have used an OR operator without any parentheses in your filter:

project = CGDF AND issuetype in (Epic, Story, Task) AND "Epic Link" in (CGDF-34, CGDF-55) OR "Epic Name" = "Homologação - Fornecedores" ORDER BY Rank ASC

Jira is eval this as two filters, essentially. The first one is

project = CGDF AND issuetype in (Epic, Story, Task) AND "Epic Link" in (CGDF-34, CGDF-55)

and the second one is

"Epic Name" = "Homologação - Fornecedores"

The second one does not place any constraints on which project the issues should be in. Therefore, Jira evaluates that the issues may come from any project in the entire Jira instance. That would include Jira Service Management projects. You would have to have Manage Sprints permissions in absolutely every project in your Jira instance for this to work.

What are you trying to retrieve with the second half of that filter? As it is written, it would retrieve just Epics that have their Epic Name set to "Homologação - Fornecedores". It would not retrieve the child issues of such Epics.

 

Additionally, with the first half of the filter are you trying to retrieve just the child issues of the specified Epics, or do you also want the Epics themselves? I notice in the second image in your post you pointed to the Epics panel, which is empty, as if you expected Epics to be listed there. If you want the Epics as well as the child issues then that part of the filter needs to be changed thus:

project = CGDF AND issuetype in (Epic, Story, Task) AND ("Epic Link" in (CGDF-34, CGDF-55) or issue in in (CGDF-34, CGDF-55))

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events