You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
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.
The Url must be encoded correctly:
.../search?jql=project%20%3D%20ATADMIN%20AND%20status%20%3D%20Done
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabian Lim
Here is the full error
java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in query at index 110: https://athenajira.athenahealth.com/https://athenajira.athenahealth.com/rest/api/2/search?jql=project=INCIDENT AND status=Done
at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:191)
caused by: java.net.URISyntaxException: Illegal character in query at index 110: https://athenajira.athenahealth.com/https://athenajira.athenahealth.com/rest/api/2/search?jql=project=INCIDENT AND status=Done
at java.base/java.net.URI$Parser.fail(Unknown Source)
java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in query at index 110: https://athenajira.athenahealth.com/https://athenajira.athenahealth.com/rest/api/2/search?jql=project=INCIDENT AND status=Done at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:191) at com.atlassian.applinks.core.auth.ApplicationLinkAnalyticsRequestFactory.createRequest(ApplicationLinkAnalyticsRequestFactory.java:30) at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.prepareRequest(AbstractProxyServlet.java:55) at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.doProxy(AbstractProxyServlet.java:147) at com.atlassian.confluence.plugins.jira.AppLinksProxyRequestServlet.doProxy(AppLinksProxyRequestServlet.java:82) at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.doGet(AbstractProxyServlet.java:87)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.