Description
When using JQL to search for issues in a next-gen project, it doesn't work to do :
project='PN' AND status WAS IN ('In Progress') DURING('2020-03-06','2020-03-08')
But if you rename the name of the In Progress status in your board (and change it in your query) it works.
Step to reproduce :
This is a known bug, albeit not with all the specifics you mention - see JRACLOUD-72180. Worth adding them on there!
There is a workaround mentioned on this bug to search via Status ID rather than name - I've tried it and it seems to work - to do this:
Locate your Next-Gen project's ID:
Next locate your status' ID:
You can now search using the ID - eg. "Status was 101323".
Ste
Thanks ! I tought it was not possible to use the status ID with WAS as written In the JQL Fields Reference. Should it be changed ? or is it specific to Next-gen projects issues ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure - but I did try some non-Next-Gen statuses from our instance and all of them appeared to work (including one of the "default" statuses) - so it appears to work across all :)
Ste
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.
This also works for me, thanks Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With further investigation, it seems to happen when you have a status with the same name as one of the basic statuses (without scope)
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.