I have created a kanban board and the done column is getting very long. I would like to create a filter that restricts the column to only the last 5 days. How do I write that script and where do I insert it?
Jira doesn't natively offer conditional filtering (eg) give you everything except for some of a certain status. It would be difficult to have all the issues in the view and selectively filter out DONE items that meet a specific criteria.
You do have a couple of options here:
If you are using Sprints: you could restrict the board to your active Sprint:
project = XXX AND Sprint in openSprints() ORDER BY Rank ASC
Depending on how large your project is, it may be helpful to just look at the items that have been updated "recently". This will limit the items in your done queue, but could also limit items in other queues.
project = XXXX and updated > startOfWeek()
you have other options here for how far you want to look:
project = XXXX and updated > startOfMonth()
When you add the updated criteria, Jira's JQL will prompt you for all the available selections.
Hope this helps. It may be helpful to understand what you are reporting on your Kanban board and how much of your project you expect to see. If you can add some details, we can dive in a little deeper.
Marianne Miller
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.