Forums

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

unable to resolve class com.atlassian.jira.jql.parser

Antoine [Klee Group]
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.
April 11, 2025

Hi, import com.atlassian.jira.jql.parser throws the error in the title. Though the class does exist in the documentation JqlQueryParser (Atlassian Jira - Server 9.12.17 API)

I don't get it.

Any help?

2 answers

1 accepted

0 votes
Answer accepted
Antoine [Klee Group]
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.
April 11, 2025

We actually need to use the constructor from 

DefaultJqlQueryParser (Atlassian Jira - Server 10.5.0 API)

import com.atlassian.jira.jql.parser.DefaultJqlQueryParser;
import com.atlassian.jira.jql.parser.JqlQueryParser;

JqlQueryParser myParser = new DefaultJqlQueryParser()

myParser.whatever method.
1 vote
Florian Bonniec
Community Champion
April 11, 2025

Hi @Antoine [Klee Group] 

 

You need to import import com.atlassian.jira.jql.parser.JqlQueryParser

 

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events