I have the below filter and I need to remove multiple statues like resolved, done and canceled. How can I accomplish this?
project = "XXXXXXXXXXXX" AND issuekey = PFB-1653 OR issuekey = PFB-1658 OR issuekey = PFB-1772 OR issuekey = PFB-1655 OR issuekey = PFB-1656 OR issuekey = PFB-1657 OR issuekey = PFB-1808 OR issuekey = PFB-1256 OR issuekey = PFB-1592 OR issuekey = PFB-1604 OR issuekey in childIssuesOf(PFB-1653) OR issuekey in childIssuesOf(PFB-1658) OR issuekey in childIssuesOf(PFB-1772) OR issuekey in childIssuesOf(PFB-1655) OR issuekey in childIssuesOf(PFB-1656) OR issuekey in childIssuesOf(PFB-1657) OR issuekey in childIssuesOf(PFB-1808)
Hi Lisa,
To exclude statues like resolved, done and canceled, add condition and status not in (Resolved, Done, Canceled) at the end. Please make the use of brackets correctly.
Your JQL should look like
project = "XXXXXXXXXXXX" AND
(Issuekey in (PFB-1653, PFB-1658, PFB-1772, PFB-1655, PFB-1656, PFB-1657, PFB-1808, PFB-1256, PFB-1592, PFB-1604 )
OR issuekey in childIssuesOf(PFB-1653)
OR issuekey in childIssuesOf(PFB-1658)
OR issuekey in childIssuesOf(PFB-1772)
OR issuekey in childIssuesOf(PFB-1655)
OR issuekey in childIssuesOf(PFB-1656)
OR issuekey in childIssuesOf(PFB-1657)
OR issuekey in childIssuesOf(PFB-1808))
and status not in (Resolved, Done, Canceled)
Thank you so much that worked. I am new at this and these filters were built by someone else and I am trying to fix them.
Thanks,
Lisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's a bit of excess in this query. I would go with something like this:
Project = PFB and Key IN (PFB-1653, PFB-1658, PFB-1772, PFB-1655, PFB-1656, PFB-1657, PFB-1808, PFB-1256, PFB-1592, PFB-1604) OR (issue in childIssuesOf(PFB-1653) OR issue in childIssuesOf(PFB-1658) OR (issue in childIssuesOf(PFB-1772) OR issue in childIssuesOf(PFB-1655) OR issue in childIssuesOf(PFB-1656) OR issue in childIssuesOf(PFB-1657) OR issue in childIssuesOf(PFB-1808)) AND status NOT IN (Resolved, Done, Canceled)
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.