YouTrack Standalone 2017.1 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:

projectprojectByIdForIssuesProjectID of a project to get issues from.
filterstringApply a filter to issues in a project.
afterIntegerA 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 .
maxIntegerMaximum number of issues to be imported. If omitted, 10 issues will be imported, by default.
updatedAfterLongFilter issues by the date of the most recent update. Only issues imported after the specified date will be gotten.
wikifyDescriptionbooleanOptional. If '
', then issue description in the response should be 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 Get an Issue method description.



GET http://localhost:8081/rest/issue/byproject/TST?filter=%23Show-stopper Cookie: $Version=0; JSESSIONID=peji4aw1vkkj1fvtm9vev8hnh; $Path=/;; $Path=/


HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 1364 Server: Jetty(7.2.0.v20101020) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <issues> <issue id="TST-2"> <field name="attachments"> <value url="/_persistent/;v=0&amp;c=true"></value> <value url="/_persistent/;v=0&amp;c=true"></value> <value url="/_persistent/;v=0&amp;c=true"></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: 18 April 2017