💼 Ticket attributes
Tags: Flutter
Set ticket attributes
Ticket attributes can be set with the method below. If the user also provides data for an attribute (for example description
), the user input will be prioritized.
Gleap.setTicketAttribute(key: 'title', value: 'Developer title');
First param: attribute key
Second param: value (string, boolean, string array or number are supported)
Ticket attribute data will not be pre-filled in forms.
Finding the ticket attribute keys
You can find or create all available ticket attributes for each ticket type in Settings > Data attributes.
Unset ticket attributes
Ticket attributes can be unset with the method below.
Gleap.unsetTicketAttribute(key: 'title');
Clear all ticket attributes
All ticket attributes can be cleared with the method below.
Gleap.clearTicketAttributes()