The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JQL Query

Ganesh
Contributor
July 29, 2021

I want to search issues, how many I have closed from my day1.

EX : JQL Query for resloved/closed issues from day1

JQL Query for resloved/closed issues from last week/lastmonth/current month.

Thanks in advance

Regards.

 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Jack Brickey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 29, 2021

Lifetime resolved - Assignee = currentUser() and resolved < now()

last week resolved - Assignee = currentUser() and resolved < startofweek() and resolved >= startofweek(-1w)

last month - Assignee = currentUser() and resolved < startofmonth() and resolved >= startofmonth(-1)

Ganesh
Contributor
July 29, 2021

@Jack Brickey Thank you for your time writing to me, unfortunately non of the jql query works for me.

Could you suggest any other jql query, thanks in advance

Jack Brickey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 30, 2021

Please provide more info so that I might offer an alternative. What didn’t work with my suggestions? 

Ganesh
Contributor
August 1, 2021

@Jack Brickey when i try to search with this query last month - Assignee = currentUser() and resolved < startofmonth() and resolved >= startofmonth(-1) it is throwing below error, am adding screen shot.

Screenshot (39).png

Mohamed Benziane
Community Champion
August 2, 2021

delete "last month - "

Like Ganesh likes this
Jack Brickey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 2, 2021

Thanks Mohammed!

I must have pasted poorly 😜

Assignee = currentUser() and resolved < startofmonth() and resolved >= startofmonth(-1)

Like Ganesh likes this
Ganesh
Contributor
August 3, 2021

@Jack Brickey great it works for me, Thanks!!

@Mohamed Benziane  Thanks for the support.

Keep help us like this, Thanks!!!

0 votes
Mohamed Benziane
Community Champion
July 29, 2021

Did you try something ? Can you share your JQL.

Try resolutionDate in your jql

Resolutiondate <  "2010/12/31"

https://confluence.atlassian.com/jirasoftwareserver080/advanced-searching-fields-reference-967899658.html