Get comments via Rest API

tmanai July 10, 2020
rest/api/2/issue/{issuekey}/comment

Hi,

Is this command is correct to can get all the comments in an issue?

Thanks for any help, 

3 answers

0 votes
BHOOMIKA KAPOOR
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 28, 2024

Hi, I am trying to get the comments section pulled in and get the data from there and Unable to do so, also I am not able to pull the resolved date of the ticket

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2020

It is not a command, obviously.

It is a URL against which you can execute a REST API call. Or, you can just open it in your browser.

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2020

Yes, I tried it right now and it is working. Do you have any problem with this endpoint? For my case it is:

https://bayer.atlassian.net/rest/api/2/issue/DEMO-1/comment

where

tmanai July 10, 2020

I tried :  https://jiraclone.vermeg.com/rest/api/2/issue/GIS-2190/comment

But it doesn't work .

The test is in jira server 

Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2020

@tmanai and what error is returned if any? Request to endpoint expects user to be authenticated, also every permissions rules are validated...

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events