POST/projects/api/v3/customfields/validate.json

Validate syntax of formula field

Validates syntax of formula field. Do not check for permissions, naming etc. TODO: returns output unit of given formula

Body Params

Request contains information of a custom field to be created or updated.

    • Name
      customfield
      Type
      object
      Description
      CustomField contains all the information returned from a custom field.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      ValidateFormulaResponse contains information about formula validation.
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      422
      Type
      object
      Schema
      Description
      422 Unprocessable Entity
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    200 OK

    ValidateFormulaResponse
    {
      "unit": "Unknown Type: any"
    }