Forums

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

While searching in Jira Issues using JQL, it expects quotes in a specific project.

Ashutosh Agrawal
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!
October 1, 2021

Hello Everyone,

 

I see a problem in Jira Software while searching for the issues in "advanced search". I was searching for one of the Project Key named "CF" and found no issue but got an error:

Error in JQL Query: Expecting either a value, list or function but got 'CF'. You must surround 'CF' in quotation marks to use it as a value. (line 1, character 11)

The query used is : project = CF

Now, when I tried to search again using below query:

project = 'CF'

it brought the correct data.

The question here is that why we require to encode this particular project CF in quotes('') while other projects brought data without quotes.

 

Can someone please help?

1 answer

2 votes
Alex Koxaras -Relational-
Community Champion
October 1, 2021

Hi @Ashutosh Agrawal 

Cf is a reserved word from Jira (click the link). So if you want to search for that specific project, which uses the reserved word, you have to place it in quotation marks (or double quote marks).

Suggest an answer

Log in or Sign up to answer