It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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.

 

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

works fine

is there any way to get the notifiers in the comments

which JIRA version do you use?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 3 hours ago in United States

Atlassian Government Symposium

Good day members, Not sure if you are aware that Atlassian will be hosting a Government Symposium on May 1st, 2019 in Washington DC. For more details please click here If you have any questions...

12 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you