I am hoping to edit the filter for one of our boards that allows me to show everything in the Backlog column/status, but only what has been changed in the last weeks in the In Progress column/status. When I've tried different queries its just showing those 'after -2w' status across the board - not by individual status. Is there a way to do this?
I did try to get a new filter that shows where the status changed after -2w and then within my JQL I tried to ask status = "In Progress" and filter = "Status_Changed_Last2Weeks" but that affected the results of the Backlog status too. Struggling to find a way to separate those two status' within the JQL.
Any help appreciated.
Thanks
Hi Madelyn,
It sounds like you want something like this. It will show everything that is in Backlog, as well as the In Progress issues that were updated in the last two weeks:
(status = "Backlog") OR (status = "In Progress" AND updated >= -2w)
Or maybe this, which shows everything in Backlog, as well as the In Progress issues that were changed to In Progress in the last two weeks:
(status = "Backlog") OR (status = "In Progress" AND status changed to "In Progress" AFTER "-2w")
I've only tested briefly, so apologies for any errors. Try them and see if one does what you need. Hopefully they'll give you a starting point and you can tweak to perfect.
Sam
I should have mentioned: it's the OR keyword that lets you build filters with different criteria per status.
If you want to include more statuses with other conditions, you can add more OR statements. For example:
(status = "Backlog") OR (status = "In Progress" AND updated >= -2w) OR (status = "Done" AND issuetype = Bug)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam
Many thanks for taking the time, this works perfectly. I'm learning something new about JQL everyday!
Cheers
Madelyn
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.
Great. Which one did you use in the end?
Also, please consider marking this answer as accepted and/or upvoting if it solved your problem.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This one did the trick:
(status = "Backlog") OR (status = "In Progress" AND updated >= -2w)
Thanks again Sam!
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.