It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

not able to create jira issue link using JRJC


I have implemented jirarestclient using AsynchronousJiraRestClientFactory. Then fetching Issuerestclient like below and trying to link issue.

IssueRestClient issueRestClient=jiraRestClient.getIssueClient();


It gives below exception for json creation. Can anyone give an example of creation of issue Link. org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>null for uri: http://localhost:8080/rest/api/latest/issueLink/rest/api/latest/serverInfo</message></status>



at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(

at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(

at com.atlassian.util.concurrent.Promises$Of$3.apply(

at com.atlassian.util.concurrent.Promises$2.onSuccess(

1 answer

Have you configured properly base url for your JIRA instance? The URI in exception doesn't look good:


I guess that your base URI should look like that: http://localhost:8080/</strong<>>

And I guess that you've used that base URI instead: http://localhost:8080/rest/api/latest/issueLink

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

341 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you