Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Getting IllegalArgumentException when I try to run JQL search rest api


I am trying to get jira issue details from confluence and trying to run the below jql search api. it throws IllegalArgumentException. 




I think, the space in the query causing issue. jql=project=ATADIM AND status=Done. 


Please suggest how to handle that space. 

2 answers

The Url must be encoded correctly:


I'm facing the same problem, but encoding doesn't solve it.  A simple JQL works, e.g.

but anything with whitespace fails, even when encoded:

The error is :


The error is bizarre in that I'm not sure why the first part is repeated?

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 24, 2021

Hi @Nallusamy Narayanaswamy

Do you have more details on the error message?


Hi @Fabian Lim 

Here is the full error



java.lang.IllegalArgumentException: Illegal character in query at index 110: AND status=Done
    at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(

caused by: Illegal character in query at index 110: AND status=Done
    at java.base/$ Source)

Stack Trace:[hide]

java.lang.IllegalArgumentException: Illegal character in query at index 110: AND status=Done
 at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(
 at com.atlassian.applinks.core.auth.ApplicationLinkAnalyticsRequestFactory.createRequest(
 at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.prepareRequest(
 at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.doProxy(
 at com.atlassian.confluence.plugins.jira.AppLinksProxyRequestServlet.doProxy(
 at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.doGet(

Please see my details in a response to the above post, and let me know if there is anything else that I can provide to help you help me.  tia

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events