Forums

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

JQL for issues that the status was not change to Done during a certain period

Vasilis Gen May 31, 2023

Hi all, 

Trying to create a query that will return the issues that were updated during January and they didn't get the status Done during January. 

The bold one is the problematic sections of my query. Any Ideas?

project = CPD AND issuetype in (Story, Bug, Task, "Tech Task") AND updated >= 2023-01-01 AND updated <= 2023-01-31 AND status was not changed to Done during (2023-01-01, 2023-01-31)

2 answers

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
May 31, 2023

Hi @Vasilis Gen - I think you want to tweak it like this:

project = CPD AND issuetype in (Story, Bug, Task, "Tech Task") AND updated >= 2023-01-01 AND updated <= 2023-01-31 AND status WAS NOT Done during (2023-01-01, 2023-01-31)

Essentially there is no "was not Changed".  You would simply state that issue was not Done during that timeframe.

Vasilis Gen May 31, 2023

Thanks @Mark Segall 

Like Mark Segall likes this
Mohamed Benziane
Community Champion
May 31, 2023

Did you try my answer below ?

0 votes
Mohamed Benziane
Community Champion
May 31, 2023

Hi,

You can try this

NOT status changed TO "Done"

I will go for "startOfMonth(-x)" and "endOfMonth(-x)" instead of the  hardcoded date

x mean the number of month you want to go back

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events