Updating a project

Use this request to update information about a project.

PUT

https://api.tracker.yandex.net/v3/projects/<project_ID>?version=<version_number>

You can also use the new, more flexible and functional update entity information API that provides a unified method for updating information about projects and portfolios.

Query format

Before making a request, get permission to access the API.

To edit a project, use an HTTP PUT request. In the request body, specify the parameters in JSON format.

PUT /v3/projects/<project_ID>?version=<version_number>
Host: api.tracker.yandex.net
Authorization: OAuth <OAuth_token>
X-Org-ID or X-Cloud-Org-ID: <organization_ID>

{
    "queues": "<queue_key>"
}
Headers
  • Host: Address of the node that provides the API.

  • Authorization: Authorization token about these formats:

    • OAuth <OAuth_token>: For authorization using the OAuth 2.0 protocol. Learn more

    • Bearer <IAM_token>: For authorization using an IAM token, if a Yandex Cloud Organization organization is linked to Tracker. Learn more

  • X-Org-ID or X-Cloud-Org-ID: Organization ID.

    • Use the X-Org-ID header if a Tracker organization is linked to Yandex 360 for Business.

    • Use the X-Cloud-Org-ID header if a Tracker organization is linked to Yandex Cloud Organization.

    To get the organization ID, go to AdministrationOrganizations and copy the value from the ID field.

Resource
Parameter Description Data type
<project_ID> Project ID Number
Request parameters

Required parameters

Parameter Description Data type
version Project version. Changes are only made to the current version of the project. Number

Additional parameters

Parameter Description Data type
expand Additional fields to include in the response:
  • queues: Project queues
String
Request body parameters

Required parameters

Parameter Description Data type
queues Issues to include in the project String

Additional parameters

Parameter Description Data type
name Project name String
description Project description. This parameter is not displayed in the Tracker interface. String
lead ID or username of the project assignee Number / String
status Stage of the project:
  • DRAFT: Draft
  • IN_PROGRESS: In progress
  • LAUNCHED: Launched
  • POSTPONED: Postponed
String
startDate Project start date in YYYY-MM-DD format String
endDate Project end date in YYYY-MM-DD format String

Response format

If the request is successful, the API returns a response with code 200 OK.

The response body contains information about the updated project in JSON format.

{
    "self": "https://api.tracker.yandex.net/v3/projects/9",
    "id": "9",
    "version": 5,
    "key": "Project",
    "name": "Project",
    "description": "Project with updates",
    "lead": {
        "self": "https://api.tracker.yandex.net/v3/users/12********",
        "id": "12********",
        "display": "Full name"
    },
    "status": "launched",
    "startDate": "2020-11-16",
    "endDate": "2020-12-16"
}
Response parameters
Parameter Description Data type
self Address of the API resource with information about the project String
id Project ID. Number
version Project version. Each change of the parameters increases the version number. Number
key Project key. Matches the project name. String
name Project name String
description Project description. This parameter is not displayed in the Tracker interface. String
lead Block with information about the project assignee Map item
status Stage of the project:
  • DRAFT: Draft
  • IN_PROGRESS: In progress
  • LAUNCHED: Launched
  • POSTPONED: Postponed
String
startDate Project start date in YYYY-MM-DD format String
endDate Project end date in YYYY-MM-DD format String

lead object fields

Parameter Description Data type
self Address of the API resource with information about the user String
id User ID. Number
display Displayed user name String

If the request is processed incorrectly, the API returns a response with an error code:

400
One or more request parameters have an invalid value.
401
The user is not authorized. Make sure that actions described in the API access section are performed.
403
You are not authorized to perform this action. You can check what rights you have in the Tracker interface. The same rights are required to perform an action via the API and interface.
412
A conflict occurred while editing the object. The error may be due to an invalid update version.
423
Object edits disabled. The version parameter value limit (the maximum number of object updates) might have been exceeded. The maximum version value is 10100 for robots and 11100 for users.
428
Access to the resource is denied. Make sure all required conditions for the request are specified.