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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

184 views 1 11
Read article

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