YouTrack Standalone 2019.3 Help

Get Historical Changes of an Issue

GET /issue/{issue}/changes

Get historical changes of an issue.

GET /rest/issue/{issue}/changes

Parameters:

Name

Type

Description

issue

issueById

issueID of an issue, for which you want to get historical changes.

Response parameters:

For information about meaning of tags in response, see Get an issue.

Sample

Request

GET https://example.com/youtrack/rest/issue/TST-2/changes Cookie: $Version=0; JSESSIONID=1a62diy56jbak1731yheey3pv9; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 2036 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <changes> <change> <field name="State"> <newValue>Open</newValue> <oldValue>Reopened</oldValue> </field> <field name="Subsystem"> <newValue>Backend</newValue> <oldValue>UI</oldValue> </field> <field name="updated"> <value>1314703639524</value> </field> <field name="updaterName"> <value>root</value> </field> </change> <change> <field name="links"> <newValue type="Relates" role="relates to">TST-3</newValue> </field> <field name="updated"> <value>1314703639542</value> </field> <field name="updaterName"> <value>app_exception</value> </field> </change> <issue id="TST-2"> <field name="attachments"> <value url="/_persistent/user.properties?file=45-419&amp;v=0&amp;c=true">user.properties</value> <value url="/_persistent/foo1.properties?file=45-420&amp;v=0&amp;c=true">foo1.properties</value> <value url="/_persistent/foo2.properties?file=45-421&amp;v=0&amp;c=true">foo2.properties</value> </field> <field name="voterName"/> <field name="Priority"> <value>Show-stopper</value> </field> <field name="Type"> <value>Feature</value> </field> <field name="State"> <value>Open</value> </field> <field name="Assignee"> <value>beto</value> </field> <field name="Subsystem"> <value>Backend</value> </field> <field name="Affected versions"> <value>2.0.1</value> </field> <field name="Fix versions"> <value>2.0.1</value> </field> <field name="Build"> <value></value> </field> <field name="links"> <value type="Relates" role="relates to">TST-3</value> </field> <field name="projectShortName"> <value>TST</value> </field> <field name="numberInProject"> <value>2</value> </field> <field name="summary"> <value>new issue</value> </field> <field name="description"> <value>description of new issue</value> </field> <field name="created"> <value>1314703639285</value> </field> <field name="updated"> <value>1314703639540</value> </field> <field name="updaterName"> <value>app_exception</value> </field> <field name="reporterName"> <value>app_exception</value> </field> <field name="commentsCount"> <value>0</value> </field> <field name="votes"> <value>0</value> </field> </issue> </changes>
Last modified: 16 March 2020