Skip to main content

Templates

Screenshot of the template part of a ticket

Templates are based JSON schemas that define the expected details of a ticket. For advanced options like styling or more complex input see VJSF.

Minimal example

The following example shows a simple template with just a text input for a description of the ticket. The x-display parameter is a VJSF addition to the JSON schema that creates a textarea input instead of a single line text input.

{
"type": "object",
"required": [ "description" ],
"properties": {
"description": {
"title": "Description",
"type": "string",
"x-display": "textarea"
}
}
}

More examples can be found in the GitHub repository.