What's the best way to write a query to exclude tasks that are associated with Epics?
I've tried a couple of statements with "parentsOf" phrase.
I want to exclude them from my software projects Kanban board in board query.
Hi @Sierra - It depends upon whether you're working with company-managed vs team-managed projects:
Team-Managed
parent IS EMPTY
Company-Managed
"Epic Link" is empty
Hi @Mark Segall It's a company managed project , this is my epic , with the tasks associated with it that I do not want to see on my KanBan board.
I could be thinking about this all wrong .. the Epic Link wouldn't be empty right , in this case ? != is to exclude the Task
"Epic Link" is not EMPTY AND issuetype != Task
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Epic Link" IS EMPTY will capture any issues (task or otherwise) where there is no epic association.
"Epic Link" is not EMPTY AND issuetype != Task will capture all issues that are not tasks and have an epic association.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay then I need "Epic Link" is not EMPTY AND issuetype = Task to capture all issues that are tasks with an epic association ... okay I feel closer , but really I want to exclude this ^ how do I write that ? I want to add it to my existing board query which is project = "IT Infrastructure Projects" AND component is EMPTY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the challenge that you want to be able to capture either of these use cases?
If so, you could do something like this:
project = "IT Infrastructure Projects" AND component is EMPTY AND (issueType != Task OR (issueType = Task AND "Epic Link" IS EMPTY))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want tasks to appear on this board only if they are not associated with an Epic.
If I'm understanding you correctly , if would be neither of those. Is it possible to do this ?
Issue Type != Task (If it has an epic association)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The query I just shared should show all issues except for tasks with epics
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Mark Segall
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.