curl -L -X POST 'https://example.youtrack.cloud/api/admin/projects/0-6/issues/2-74?fields=id,idReadable,summary,description,customFields(id,name,value(id,name))' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer perm:am9obi5kb2U=.UG9zdG1hbiBKb2huIERvZQ==.jJe0eYhhkV271j1lCpfknNYOEakNk7' \
--data-raw '{
    "summary": "Sample: update an issue in specific project",
    "description": "This issue is a sample for updating an issue in specific project. Using the `api/admin/projects/:id/issues/:id` endpoint.",
    "customFields": [
        {
            "value": {
                "name": "Major",
                "$type": "EnumBundleElement"
            },
            "name": "Priority",
            "id": "92-43",
            "$type": "SingleEnumIssueCustomField"
        },
        {
            "value": {
                "name": "Task",
                "$type": "EnumBundleElement"
            },
            "name": "Type",
            "id": "92-44",
            "$type": "SingleEnumIssueCustomField"
        }
    ]
}'
