# Create Issues

Create Issues

Endpoint: POST /api/issues
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Request fields (application/json):

  - `Issues` (array)
    List of Issues to create.

  - `Issues.EngagementId` (string)
    The Salesforce ID of the Delivery Engagement (Delivery Group) this Issue is being raised against.

  - `Issues.ProposalId` (string)
    The Salesforce ID of the Proposal this Issue is being raised against.

  - `Issues.Summary` (string, required)
    A short summary describing the Issue. REQUIRED.

  - `Issues.StatusName` (string, required)
    The Issue Status. Must be either 'Open' or 'Closed'. REQUIRED.

  - `Issues.IssueImpactId` (string, required)
    The Salesforce ID of the Issue Impact reference data value (e.g. High, Medium, Low). REQUIRED.

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

  - `Issues.RaisedByContactId` (string)
    The Salesforce ID of the Contact who raised the Issue. Defaults to the running user's resource contact when omitted.

  - `Issues.RaisedDate` (string)
    The date the Issue was raised. Must be in YYYY-MM-DD format. Defaults to today when omitted.

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

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

  - `Issues.IssueCategoryId` (string, required)
    The Salesforce ID of the Issue Category reference data value. REQUIRED.

  - `Issues.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.

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

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

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

  - `Issues.RiskId` (string)
    The Salesforce ID of the related Risk, if this Issue was created from a Risk.

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

  - `Issues.CustomFieldsMap.Key` (string)

  - `Issues.CustomFieldsMap.Value` (string)

## Response 202:

  - `202` (unknown)
    Success - Created

## 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)

