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 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,949 views 19 22
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