---
title: "Edit Issue"
method: PATCH
path: "/projects/{projectId}/issues/{issueId}"
tags: ["Issues"]
deprecated: true
---

# Edit Issue

`PATCH /projects/{projectId}/issues/{issueId}`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/issues/{issueId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-api-v2/docs/projects/:projectId/issues/:issueId/patch.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

**Required scopes:** `project.status.issue` (Read and Write).

Use [Edit String Comment](#operation/api.projects.comments.patch) instead.

## Path parameters

- `projectId` integer, required
- `issueId` integer, required

## Request body

- IssueOperation[]: A JSON Patch document as defined by <a href="https://tools.ietf.org/html/rfc6902#section-3" target="_blank">RFC 6902</a>
  - `op` 'replace' | 'test', required: Patch operation to perform
  - `path` '/status', json-pointer, required: A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a>

## Response `200`

Issue was successfully updated

- IssueResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` Issue, required: Issue Response Model
    - `id` integer
    - `text` string
    - `userId` integer
    - `stringId` integer
    - `user` object
      - `id` integer
      - `username` string
      - `fullName` string
      - `avatarUrl` string
    - `string` object
      - `id` integer
      - `text` string
      - `type` string
      - `hasPlurals` boolean: Use fields `type` and `text` instead
      - `isIcu` boolean: Use field `type` instead
      - `context` string
      - `fileId` integer
    - `languageId` string
    - `type` string
    - `status` string
    - `createdAt` string, date-time

## Other responses

- `400`: Invalid Request Body
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project or issue with specified id was not found
- `405`: Method Not Allowed
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crowdin/apis/crowdin-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-api-v2/revisions/27aae7751699?raw)
