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.
Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events