A complex filter

I've been banging my head on this, but I'm curious if someone can lend a hand.

I need a filter that basically:

1. finds issues assigned to particular people (done: "assignee in (membersOf(QA)) ORDER BY Rank ASC")

2. but of the issues that are closed, only show those that were closed within 2 weeks.

1 answer

1 accepted

0 vote

Use this:

assignee in membersOf(QA) and status changed to Closed after -2w ORDER BY Rank ASC

i tried something like this, but the problem is i don't want to limit to closed items. it should retrieve items in any status BUT if they are closed, only the most recent (2 weeks). that's where i'm stuck.

real world-scenario: a filter for our kanban board (to do | in progress | done) set up so done (closed) items don't end up eternally filling up the column.

How about

(All your search terms except status) AND (status in ("All statuses you want") OR status changed to closed after -2w)

You are definitely a JQL guru! ;)

One tweak was needed and that is to exclude Closed in the list of statuses I want.

(All your search terms except status) AND (status in ("All statuses you want EXCEPT Closed") OR status changed to closed after -2w)

lol. Glad it worked.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

246 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you