Get issue field change history

Answered

Is it able to get issue change history (all history or history of specific field) by Workflow API or REST API?

2
6 comments
Official comment

Hi Dmitriy,

at the moment we have only old REST API methods documented:

https://www.jetbrains.com/help/youtrack/incloud/Get-Issue-History.html

https://www.jetbrains.com/help/youtrack/incloud/Get-Historical-Changes-of-an-Issue.html

However, we're going to deprecate the old REST API soon, and before that we're going to publish new API methods. So we're encouraging you to check the new REST API documentation from time to time for updates.

Avatar
Permanently deleted user

thanks for answer

0

Hi - is this available in the new REST API?

0

Hi,

Unfortunately, this is still not documented yet. However, you can use browser console to check what requests YouTrack issues itself when querying issue history - this is exactly what you need.

We are working on delivering new documentation as soon as possible.  

0

Hi.

Via the OLD REST API we have errors:

https://yt.blabla.ru/rest/issue/ju-7036/history

<error>Could not decode vcdiff</error>

and:

https://yt.blabla.ru/rest/issue/ju-7036/changes

<error>
Required field name of IssueAttachment[45-974025] is undefined
</error>
what is the true way to get an issue history now? (YouTrack 2018.4
Build 49352 Standalone installation)
0

Hello,

To get rid of "Required field name of IssueAttachment[45-974025] is undefined" error, please restart your Youtrack with the `-Dexodus.entityStore.refactoring.forceAll=true` parameter (https://www.jetbrains.com/help/youtrack/standalone/Configure-JVM-Options.html).

As for the "Could not decode vcdiff" error, let's continue the investigation in the support ticket you've created. 

0

Please sign in to leave a comment.