Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I get all comments for an issue using REST api?

Sebastian Persson October 14, 2014

I am trying to get all the comments for an issue using the REST api. I can get all the other information by calling /rest/api/2/issue/{issueKey}.

This call responds with an object containing id, projectkey, description, summary, updatedDate, user etc. Everything I need, except comments. I know there are comments on that particular issue.

If I call /rest/api/2/issue/{issueKey}/comment I get response:

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

If I do a JQL search using Advanced Searching, and export the result to Word, all the comments are in the exported document.

Is there a setting, or something else I'm missing?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Treethawat Thanawachiramate October 14, 2014

Hi,

FYI. I'm not sure but when I try  with the string is "/rest/api/2/issue/ABC-1/comment".

I have no issue with it.

 

Alex Androshchuk April 11, 2018

/rest/api/2/issue/ABC-1/comment

works fine

Amarendar Musham - Consultant February 12, 2019

is there any way to get the notifiers in the comments

Saravana Kumar May 20, 2019

is there any way get comment based on particular period like "only last 4 days" using rest API or other library. 

Like # people like this
0 votes
JulianA
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.
October 14, 2014

which JIRA version do you use?

Amarendar Musham - Consultant May 20, 2019

jira version 7.13.0

TAGS
AUG Leaders

Atlassian Community Events