Hi All,
I am looking to build a filter that shows any outstanding risks/issues but would also show any complete (mitigated, accepted, resolved) risks/issues but only ones resolved in the last two weeks. So anything completed (mitigated, accepted, resolved) over two weeks would not show.
Have got the below so far but it seems to return the wrong responses (100's of risks from all areas). Not sure how to ask it both terms separately.
"Team[Team]" = x AND issuetype = Risk AND status IN (open, owned) OR resolved >= -2w
Any advice would be great.
"Team[Team]" = x AND issuetype = Risk AND status IN (Open, Owned) OR "Team[Team]" = x and (status in (Mitigated, Accepted, Resolved) AND resolved >= -2w)
Hi @daniel_billingham Welcome to the Atlassian Community!
Try this:
"Team[Team]" = x AND issuetype = Risk AND status IN (Open, Owned) OR (status IN (Mitigated, Accepted, Resolved) AND resolved >= -2w)
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Anthony,
What you gave me the system did not like for some reason but managed to get the below which worked. Apologies if the original ask did not explain it well enough!
"Team[Team]" = x AND issuetype = Risk AND status IN (Open, Owned) OR "Team[Team]" = x and (status in (Mitigated, Accepted, Resolved) AND resolved >= -2w)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @daniel_billingham and welcome to the Community!
Try to add parentheses to your filter when you start mixing AND and OR clauses. Try something like this:
"Team[Team]" = x AND issuetype = Risk AND
(status IN (open, owned) OR resolved >= -2w)
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Walter,
What you gave me the system did not like for some reason but managed to get the below which worked. Apologies if the original ask did not explain it well enough!
"Team[Team]" = x AND issuetype = Risk AND status IN (Open, Owned) OR "Team[Team]" = x and (status in (Mitigated, Accepted, Resolved) AND resolved >= -2w)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.