YouTrack Standalone 2019.3 Help

Get Issues in a Project

GET /issue/byproject/{project}

Get all issues by project

GET /rest/issue/byproject/{project}?{filter}&{after}&{max}&{updatedAfter}&{wikifyDescription}

Request parameters:

Name

Type

Description

project

projectByIdForIssues

ProjectID of a project to get issues from.

filter

string

Apply a filter to issues in a project.

after

integer

A number of issues to skip before getting a list of issues. That is, when you specify, for example, after=12 in request, then in the response you will get all issues matching request but without first twelve issues found.

max

integer

The maximum number of issues to include in the result. If empty, 10 issues are returned.

updatedAfter

long

Filter issues by the date of the most recent update. Only issues that have been updated after the specified date are returned.

wikifyDescription

boolean

Optional. If 'true', the issue description in the response is formatted (that is: "wikified"). For example, the request URL with this parameter should look as follows: "/rest/issue/jt-23?wikifyDescription=true". By default, this parameter is 'false' and skipped in the URL.

Response parameters:
For information about meaning of tags in response, see the description for the Get an Issue method.

Sample

Request

GET https://example.com/youtrack/rest/issue/byproject/TST?filter=%23Show-stopper Cookie: $Version=0; JSESSIONID=peji4aw1vkkj1fvtm9vev8hnh; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 1364 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <issues> <issue id="TST-2"> <field name="attachments"> <value url="/_persistent/user.properties?file=45-83&amp;v=0&amp;c=true">user.properties</value> <value url="/_persistent/foo1.properties?file=45-84&amp;v=0&amp;c=true">foo1.properties</value> <value url="/_persistent/foo2.properties?file=45-85&amp;v=0&amp;c=true">foo2.properties</value> </field> <field name="Priority"> <value>Show-stopper</value> </field> <field name="Type"> <value>Feature</value> </field> <field name="State"> <value>Reopened</value> </field> <field name="Assignee"> <value>beto</value> </field> <field name="Subsystem"> <value>UI</value> </field> <field name="Affected versions"> <value>2.0.1</value> </field> <field name="Fix versions"> <value>2.0.1</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>1320664502969</value> </field> <field name="updated"> <value>1320664503229</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> </issues>
Last modified: 16 March 2020