Hi,
I am trying to connect to a secured JIRA URL over https .I have already downloaded the certificates for connecting over SSL and added to the keystore.
I am using JIRA Rest Client api and jira issue client to get the issues details for a particular issue key.I get connected to the API instance but on trying to get issue details for a issue key getting "Unknown Host Exception " error.
Below is my code:
Can anyone please help out here
URI jiraServerUri = new URI("XXXX");
JiraRestClient restClient = new AsynchronousJiraRestClientFactory().createWithBasicHttpAuthentication(jiraServerUri, "XXX", "XXXX");
restClient.getIssueClient().getIssue("XXXXX").claim();
//String issuePromise = restClient.getIssueClient().getIssue("XXXX").claim().toString();
//System.out.println("Issue "+ issuePromise);
My aim is to update pass/fail status for a particular issuekey.