how to get perticular issue from jira from my java application using JRJC

final JerseyJiraRestClientFactory factory = new JerseyJiraRestClientFactory();

try{

final URI jiraServerUri = new URI("https://localhost:8080/jira/rest/api/latest/issue");

final JiraRestClient restClient =factory.createWithBasicHttpAuthentication(jiraServerUri,"administrator", "netsge");

System.out.println(restClient);

final NullProgressMonitor pm = new NullProgressMonitor();

final Issue issue = restClient.getIssueClient().getIssue("ACE-1", pm);

System.out.println(issue);

}catch(Exception e){

e.printStackTrace();

}

but i am not able to get issue instead getting

com.atlassian.jira.rest.client.RestClientException: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

1 answer

0 votes

Make sure your JIRA's public certificate is imported in to the keystore of your Java app. Also make sure the port number you are using is correct.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,662 views 18 21
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you