Forums

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

Comment adding API is not working

Karthik BS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2022

Adding comments API is not working after sdk upgrade from atlassian spring version 2.1.2 to 2.3.1

code:

String response = atlassianHostRestClients.authenticatedAs(hostUser).exchange(
atlassianHost.getBaseUrl() + "/rest/api/2/issue/" + issueIdOrKey + "/comment",
HttpMethod.POST,
new HttpEntity<>(payload, baseHeaders()),
String.class
).getBody();

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events