Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I filter for only 5 days of issues in a kanban column?

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?

1 answer

1 accepted

0 votes
Answer accepted

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

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...

358 views 2 15
Read article

Community Events

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

Events near you