Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL to list out all the Closed issue in the last week

prabu m November 22, 2022

I want to generate a report from Jira with the below conditions.

1.Find the list of issues that "closed" in the last week.

My JQL 

project = 111 AND fixVersion = 10668 and issuetype = Bug and status changed to "Done" and  updated <= "-7d"

but I received the below error

incorrect dateFrom format. Use a relative date (e.g. "-8d"), or an absolute one ("YYYY/MM/DD").

2. the user-wise list of issues that were "closed" in the previous week 

 

1 answer

1 vote
Jack Brickey
Community Champion
November 22, 2022

here is one solution

project = 111 AND fixVersion = 10668 and issuetype = Bug and (resolutiondate >= startOfWeek(-1) and resolutiondate < startofweek())

prabu m November 22, 2022

@Jack BrickeyAlthough the JQL query was successful, the search returned no results. But despite having the record in the fixed version, it still fails to retrieve the data.

Jack Brickey
Community Champion
November 22, 2022

Can you investigate issues you expected to see in the list and verify if the Resolution date is set or not?

prabu m November 22, 2022

@Jack BrickeyYes, you are correct; none of the issues I expected have a resolution date.

I have no idea how to set the date on which the closed issues will be resolved. Please let me know if you have any other suggestions or if you can help me with it.

prabu m November 22, 2022

@Jack Brickey With the below JQL I received the issue list

 

project = 111 AND fixVersion = 10668 and issuetype = Bug and status changed to "Done" and (updated >= startOfWeek(-1) and updated < startofweek())

Is this the right approach?

Amanda Watkins
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2023

This may also work: 

project = 111 AND fixVersion = 10668 AND issuetype = Bug AND resolved >= startOfWeek(-1) AND resolved <= endOfWeek(-1)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events