Forums

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

Rovo generates invalid JQL

KC Wong
Contributor
February 5, 2026

Rovo seems to generate incorrect JQL for month/year. For day it works. 

I asked Rovo:

Find all work items from all spaces created in the last year
Rovo answered: 

Here’s what I can see for “work items from all spaces/projects created in the last year” in your site.

1. Jira work items (all projects, last 12 months)

I ran a site-wide Jira query with:

created >= -12M

But that finds nothing. The proper JQL seems to be this instead: 

created >= startOfMonth("-12") 

 

2 answers

0 votes
Dr Valeri Colon _Connect Centric_
Community Champion
February 10, 2026

Hi @KC Wong Rovo often uses relative date syntax like created >= -12M, which isn’t valid JQL. Jira requires functions such as startOfMonth("-12") or created >= -52w. This isn’t a configuration issue—Rovo doesn’t always generate correct date math for months or years. The workaround is to correct the JQL manually or instruct your agent to use startOfMonth() or startOfYear() when interpreting “last year” queries.

KC Wong
Contributor
February 10, 2026

That's not an issue for me, but it is for end-users. Rovo will execute the query and tells them 0 issues found. 

I consider that to be in the bug territory...

Like Marc -Devoteam- likes this
0 votes
Marc -Devoteam-
Community Champion
February 6, 2026

Hi @KC Wong 

Created, Updated and Resolved, only work with day (d) parameter.

So you can use "created >= "-365d"

KC Wong
Contributor
February 8, 2026

I know that, the real problem is Rovo's suggesting to use 12M for 12 months.

Marc -Devoteam-
Community Champion
February 8, 2026

Hi @KC Wong 

Use the Feedback option in the help menu to provide this feedback to Atlassian.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events