Sprint field is not recognized on a JQL query

Shlomi.Galmi September 29, 2022

Hi.

When I'm trying to create a report via JQL query, I get an error that the "Sprint" field does not exist, although the sprint does exist. Here are the steps I performed:

1. Searching for the tasks in sprint 45 (sprint code is 152). Here's a quote of the query:

Sprint = 152 ORDER BY created DESC

 

 

2. Got the error description: The option '152' for field 'Sprint' does not exist.

 

 

3. It should be emphasized that when I enter the sprint board there are many tasks.

 


I would appreciate your help on this matter. Unfortunately, due to another bug in Atlassian's app, I don't have the option to add screenshots.

 

Thank you

Shlomi

2 answers

0 votes
Mykenna Cepek
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 Leaders.
September 29, 2022

Whenever I'm having trouble with JQL, I always go back to the Issue Search, and ensure that the JQL works as expected there. Auto-complete works best there.

Once my query works in the Issue Search, then I'll copy/paste that JQL someplace else (e.g. in a Filter, or Quick Filter, or Confluence Jira Search, etc).

Shlomi.Galmi October 2, 2022

Hi Mykenna.

Thank you for your answer.

I did what you suggested, to my surprise I found that I can't filter the "Sprint" field (it doesn't exist in the filter). I tried to create a ticket for Atlassian on the issue, but unfortunately, this is also not possible in their system (there is a bug when the bug was created).

And all this despite the fact that there are tasks within the sprint...

Screen Shot 2022-10-02 at 18.53.14.png

Nic Brough -Adaptavist-
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 Leaders.
October 2, 2022

There does not seem to be a bug in the issue creation when I try to raise a support request, you'll need to explain that if you want help raising an issue.

But, also, you probably don't need to raise one.  Have you tried the advanced filter (plain text JQL rather than drop-down field lists)?

Shlomi.Galmi October 2, 2022

Hi Nic.

Yes, I tried... that was the problem in the first place.

Here is a screenshots of the JQL query and the error that I received. You can see that the sprint is exist (created on 24 SEP 2022). I do have tasks in this sprint. The problem is not if there are tasks assigned to this sprint, But the existence of the sprint...

Picture1.pngPicture2.png

Nic Brough -Adaptavist-
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 Leaders.
October 2, 2022

Have you tried using the name of the sprint?  The one the search is suggesting?

Shlomi.Galmi October 3, 2022

It doesn't work either... here is a screenshots:

Picture3.png


Picture4.png

Shlomi.Galmi October 3, 2022

Do you know if Atlassian has any call center I can reach?

It looks like no matter what I'll do, it won't work...

Nic Brough -Adaptavist-
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 Leaders.
October 3, 2022

The tooltip in one of your earlier screenshots shows the autocompletion working, so I'm not sure where you are stuck now.

0 votes
Nic Brough -Adaptavist-
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 Leaders.
September 29, 2022

This is going to sound condescending, for which I am sorry, it is certainly not meant to be.

Are you sure you have a sprint called simply "152"?, and that there is at least one issue you can see in it?

I recently got bitten by a sprint called something like " 152" - the JQL didn't offer me it in the auto-complete when typing "sprint = 1..." because there was an invisible character at the start of the name.

Shlomi.Galmi October 2, 2022

Yes, I tried... that was the problem in the first place.

Here is a screenshots of the JQL query and the error that I received. You can see that the sprint is exist (created on 24 SEP 2022). I do have tasks in this sprint. The problem is not if there are tasks assigned to this sprint, But the existence of the sprint...

Picture1.pngPicture2.png

Thulasi
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 12, 2023

Issue resolved ? What is the workaround to fix this ? 

Shlomi.Galmi September 12, 2023

Hi @Thulasi 

Unfortunately, the issue hasn't been solved yet.

The workaround is to add the following condition in the JQL query:
cf[10020] = "<Sprint Number>"

Suggest an answer

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

Atlassian Community Events