I've run into a puzzling issue with JQL.
This query returns 205 results:
project = "<PROJECT NAME>" AND status = "To Do"
I expect the following query to also give me some results, at least 205 of them:
project = "<PROJECT NAME>" AND status WAS "To Do"
However no issues are returned (same project).
According to this documentation, I had expected this to work:
Find issues that currently have or previously had a status of 'In Progress':
status WAS "In Progress"
Any suggestions welcome!
That is odd for sure. It works for me. Can you try different statuses and/or projects?
Hi Jack,
Thanks for your reply.
Thanks for the suggestion to try other projects, as a result I think I've narrowed it down to an issue with next-gen projects (yes, another one!)
This works correctly on every "classic" JIRA project I've tested with. (3 different projects)
This fails as described above on every "next-gen" JIRA project I've tested with. (3 different projects).
Does anyone have access to a next-gen project to confirm my theory?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yep....and here is the bug to vote/watch...
and given it is NG and severity is major I expect we will see a fix sometime in 2020.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice one, Jack!
I searched for one earlier and couldn't find it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Phil - have any moved past the In Progress status?
it works for me, too.
Maybe try was in (To Do) just to see?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Thanks for your answer.
To be clear, I have not used status was 'In Progress', that's just the example the docs use.
There are still issues with status of To Do, however if I've understood the docs correctly I don't think that should matter:
The "
WAS
" operator is used to find issues that currently have or previously had the specified value for the specified field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Phil - I have confirmed that I get the same error with my Next-gen project examples. I will enter a Support Ticket with Atlassian and update back here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for confirming John.
I'm really wishing I'd stuck with classic, next-gen has (so far) been way more trouble than it's worth.
Please let me know when the ticket is raised - I'd like to add my vote and watch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://jira.atlassian.com/browse/JRACLOUD-72180
Looks like they are still gathering the impact.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.