I'm trying to set up some custom filters, and I'm really struggling to understand why certain advanced JQL doesn't work for me.
Example 1, below will return a considerable number of issues
status changed after -5w before -2w and project = xxx
Example 2, will not provide any, although I'm using the same format as in other JQL queries:
status changed to Done after -5w before -2w and project = xxx
The problem is related to how status is interpreted in certain configurations.
In this case, apparently "Done" is not properly translated into the state used and stored internally.
To check the actual value, use REST API endpoint, and update the JQL:
status changed to 12316 after -5w before -2w and project = xxx
I would assume that this is a bug in JIRA.
Hello @Slawek Dobrzanski
Your query is correct!
Are you sure the filter isn't just supposed to return no results? (=there are no issues that satisfy the condition)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is exactly the issue - I think :).
I can simplify the query to:
status changed to Done and project = xxx
For such query, I'm sure that some issues should be returned, but again - nothing.
The problem might be in the status "Done", but this is what I see if I remove the "changed to" part, or when I try to use status in (Done)
Side note: this is next gen project
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.