Hi guys
I need help with JQL that brings all issuetypes except sub-tasks created before 01/01/2022 and all unresolved issue types (Iniciativa, Epic, Story) created before 01/01/2020.
I created this query, but I notice that don't work as well:
created >= 2021-01-01 AND status not in (Removed, Cancelled, Cancelado) AND issuetype not in (Sub-task) OR
created >= 2020-01-01 AND created <= 2020-12-31 AND issuetype in (Iniciativa, Epic, Story)
AND statusCategory not in (Done)
Your JQL does not match the question - without clear grouping, the computer cannot tell what you are actually asking. It has no choice but to read left-to-right, which is not what your question is phrased as.
There's also some fuzziness around status and resolution - you say unresolved, but then look at the statusCategory, which does not necessarily mean unresolved. I've stuck with statusCategory here. And your "created before" is actually written as "created after" in your query. And the dates are different to your question.
Your question should be written as
( created <= 2022-01-01 AND issuetype = standardissuetypes() )
OR
(
created <= 2020-01-01 AND issuetype in (Iniciativa, Epic, Story)
AND statusCategory != Done
)
Hi @Edimara
I've tried your JQL with a small change, but I think it works fine:
created >= 2021-01-01 AND status not in (Closed, Cancelled) AND issuetype in standardIssueTypes() OR created >= 2020-01-01 AND created <= 2020-12-31 AND issuetype in (Bug, Epic, Story) AND statusCategory not in (Done)
Did you reindex your instance? Maybe that's the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the above JQL I had to make changes to reflect my setup
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.