Get comments for an issue
Returns all comments for an issue. Results can be ordered by the ‘created’ field which means the date a comment was added.
/api/2/issue/{issueIdOrKey}/commentAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
issueIdOrKeystringrequiredIssue id or key
expandstringOptional flags: renderedBody (provides body rendered in HTML)
maxResultsstringHow many results on the page should be included. Defaults to 50.
orderBystringOrdering of the results
startAtstringThe page offset, if not specified then defaults to 0
Returns a collection of comments associated with the issue, with count and pagination information.
commentsCommentJsonBean[]Show propertiesHide properties
CommentJsonBeanauthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringbodystringcreatedstringidstringpropertiesEntityPropertyBean[]Show propertiesHide properties
EntityPropertyBeankeystringvaluestringrenderedBodystringselfstringupdateAuthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringupdatedstringvisibilityVisibilityJsonBeanShow propertiesHide properties
typestringgrouprolevaluestringmaxResultsinteger<int32>startAtinteger<int32>totalinteger<int32>Returned if the issue with the given id/key does not exist or if the currently authenticated user does not have permission to view it.