Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get Issue of a task by passing the task Id?

Shashank Thorat February 19, 2020

I'm trying to get details of a ticket by passing the ticket number to the getIssue in the getIssueClient and it was working until 18-Feb-2020 and fails now

JiraRestClientFactory factory = new AsynchronousJiraRestClientFactory();
URI jiraServerUri;
jiraServerUri = new URI(my URI);

restClient = factory.createWithBasicHttpAuthentication(
jiraServerUri,
"username",
"api token");
Issue issue = getClient().getIssueClient().getIssue("ABC-123").claim();

Error:

Caused by: org.codehaus.jettison.json.JSONException: JSONObject["name"] not found.

How do I fix this?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events