Comment actions Permalink
Official comment

Hello, thank you for your question.

With the new REST API, you can get a list of activity items of an issue: https://www.jetbrains.com/help/youtrack/standalone/resource-api-issues-issueID-activities.html

Let us know if you have any further questions, we'll be happy to help.

Comment actions Permalink

Hello, I would like to get the history of the task comments. The old API had such an opportunity.


Is there an analogue in the new API? Which category should I use to track comment change history?


Comment actions Permalink



Result of target(text) returns always current record

Comment actions Permalink

Old REST API issue comments history:

GET /rest/{issueId}/history

New REST API issue comments history analog:

GET /api/issues/{issueId}/activities?fields=id,added,removed,author(name,login),target(text)&categories=CommentTextCategory

Using CommentTextCategory with fields added/removed returns action changes with old values in this fields and new value in target->text

Comment actions Permalink

Hello Lekraft1990, thank you very much for your messages.

if you want to get changes in the comment text, that's correct, you need the CommentTextCategory.

In case you need to get other changes, the full list of categories can be found here.

Let us know if anything is still left unclear, we're always happy to help.


Please sign in to leave a comment.