Forums

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

Does Jira rest java client support updating an exisiting comment

Adarsh Kummur
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!
February 20, 2019

I am using <jira-rest-java-client-core.version>4.0.0 and I don't see any method to update an existing comment. But the latest Jira API spec has a update comment section - https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-api-3-issue-issueIdOrKey-comment-id-put

Is update comment available in jira rest java client in any of the higher versions ?

Or, is it not supported yet ? 

1 answer

1 accepted

0 votes
Answer accepted
Hector
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2019

Hi @Adarsh Kummur 

if your question is in regards Jira server the right REST API documentation is https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/?_ga=2.86345816.1706951535.1550480185-809092329.1511974763#api/2/issue-updateComment

The one you posted is related to Cloud version.

About your question, I notice there is a 5.0.4 version released, did you try to use the newest one? more details here https://ecosystem.atlassian.net/wiki/spaces/JRJC/overview 

Regards,

Adarsh Kummur
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!
February 21, 2019

Thanks Hector. This helped.

I couldn't see an update comment method in javadoc of jrjc 5.0.4 version. But, I used JIRA server REST API docs and solved my issue.

Like Hector likes this

Suggest an answer

Log in or Sign up to answer