# Update an Issue

Update an Issue
An Issue can be updated using the URL issueId parameter. Do not supply Id in the request body.

Endpoint: PATCH /api/issues/{issueId}
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `issueId` (string, required)
    The unique ID (Salesforce Id) of the Issue to be updated. This is REQUIRED.

## Request fields (application/json):

  - `Summary` (string)
    A short summary describing the Issue.

  - `StatusName` (string)
    The Issue Status. Must be either 'Open' or 'Closed'. Optional; only updated if provided.

  - `IssueImpactId` (string)
    The Salesforce ID of the Issue Impact reference data value (e.g. High, Medium, Low). Optional; only updated if provided.

  - `IsInternal` (boolean)
    Set to true if the Issue is internal and should not be shared with the customer.

  - `RaisedByContactId` (string)
    The Salesforce ID of the Contact who raised the Issue.

  - `RaisedDate` (string)
    The date the Issue was raised. Must be in YYYY-MM-DD format.

  - `Reference` (string)
    The Issue Reference (Name). Only applied when the AllowReferenceEdit permission is active; otherwise ignored.

  - `Description` (string)
    A detailed description of the Issue.

  - `IssueCategoryId` (string)
    The Salesforce ID of the Issue Category reference data value. Optional; only updated if provided.

  - `SharedWithCustomer` (boolean)
    Set to true if the Issue should be shared with the customer. Only meaningful when the parent Delivery Engagement is itself shared with the customer.

  - `OwnedByContactId` (string)
    The Salesforce ID of the Contact who owns the Issue.

  - `TargetCloseDate` (string)
    The target date by which the Issue should be closed. Must be in YYYY-MM-DD format.

  - `ClosedDate` (string)
    The date the Issue was closed. Must be in YYYY-MM-DD format.

  - `RiskId` (string)
    The Salesforce ID of the related Risk.

  - `CustomFieldsMap` (array)
    A map of Custom Field to Value to be saved on the Issue.

  - `CustomFieldsMap.Key` (string)

  - `CustomFieldsMap.Value` (string)

## Response 200:

  - `200` (unknown)
    Success

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

