Skip to main content

Sorting of fields in the OTRS article

Fields are sorted by identifiers, if you want the fields to be in a certain order, you must name them accordingly.

Example:

{
  "size": "s12 m6 offset-m3",
  "type": "number",
  "id": "2_FieldID",
  "label": "Number",
  "validate": [
    ""
  ],
  "icon": "filter_1",
  "otrs_visible": "all",
  "hidden": false,
  "value": ""
},
{
  "size": "s12 m6 offset-m3",
  "type": "textarea",
  "id": "1_FieldID",
  "label": "Textarea",
  "validate": [
    ""
  ],
  "icon": "announcement",
  "otrs_visible": "all",
  "hidden": false,
  "value": ""
}

This configuration will cause the field "1_FieldID" to be displayed above "2_FieldID" in the OTRS article request.