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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,601
Community Members
 
Community Events
176
Community Groups

I need a filter that for all the defects that were resolved last week?

need to see what defects were resolved within the last week

2 answers

1 accepted

0 votes
Answer accepted
Tom Lister Community Leader Dec 15, 2022

Hi @Evalaji Jones 

by last week do you mean during the previous week or in the last 7 days?

try

project = MYPROJ and resolved >= startOfWeek(-1) AND resolved <= endOfWeek(-1)

or

project = MYPROJ and resolved > -7d

thanks. Does not work when I want to filter by issue type. any suggestions?

you can add 

issuetype = Bug or issuetype = Defects  or issuetype = "your specific issuetype" to above queries.

thanks for the help. It does work for single issue type but not for multiple issue types for e.g. 3 issuetypes in one filter. Still better than nothing!

Hi @Evalaji Jones - you can modify your filter query to get all your required issue types in the same filter by including a list of the issue types you are interested in, eg:

project = MYPROJ AND issuetype in (Bug, Story, Epic) AND resolved >= startOfWeek(-1) AND resolved <= endOfWeek(-1) ORDER BY resolved ASC, id

thanks @Sid Pathirana  will this work for -7 days? (last 7 days)

Tom Lister Community Leader Dec 16, 2022

You will need to use

project = MYPROJ AND issuetype in (Bug, Story, Epic) AND resolved >= -7d ORDER BY resolved ASC, id
Like Sid Pathirana likes this

thank you it worked!

 

I had to put 'OR' instead on 'AND' to include all 

Tom Lister Community Leader Dec 18, 2022

Great - could you mark as answered so the remembers will find it.

0 votes

Hi @Evalaji Jones ,

 

Welcome to the community, 

You can try below query. It will all the tickets resolved in last 7 days

resolved >= -7d

 

if you want to go by week like

 resolved >= startOfWeek()

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events