Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
  "entityName": "testcase",
  "systemField": false,
  "displayName": "Text customfield2",
  "fieldTypeMetadata": 1,
  "mandatory": false,
  "importable": true,
  "exportable": true,
  "searchable": true,
  "searchFieldName": "textcf2",
  "projectCheck": true,
  "unique": false,
  "length": 1024,
  "allProject": true,
  "isVisible": true
}
  • The entityName value can be testcase, requirement, or project.

  • The fieldTypeMetaData value can be any of the following:
    1 - text
    2 - long text
    3 - picklist
    4 - check box
    5 - date
    10 - number
    12 - cascade
    13 - rich text

Response body

Code Block
languagejson
{
   "id": 1006,
   "entityName": "testcase",
   "systemField": false,
   "fieldTypeMetadata": 1,
   "fieldName": "zcf_1006",
   "columnName": "zcf_1006",
   "displayName": "Text customfield2",
   "mandatory": false,
   "searchable": true,
   "importable": true,
   "exportable": true,
   "length": 1024,
   "searchFieldName": "textcf2",
   "createdOn": 1588072804836,
   "projectIds": [],
   "unique": false,
   "allProject": true,
   "isVisible": true
}

Specify values for the custom field

...

Use the following operation to specify values for the custom field:

PUT /flex/services/rest/v3/admin/preference

...