elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

[ResponseOps][Cases] Custom fields - Label field type #187205

Open cnasikas opened 3 months ago

cnasikas commented 3 months ago

To increase the adoption of custom fields and empower users with more field types we should add a new custom field type to support adding custom labels to a case like tags.

### DoD
- [ ] Create an API that returns all unique values of a custom field type if supported.
- [ ] Users can configure a "Label" custom field type like the current custom fields.
- [ ] Users can specify if the field is required and provide default values. The default value field will provide suggestions like the case tags.
- [ ] Users can set the label field type when creating a case. Suggestions like the case tags will be provided to the user.
- [ ] Users can edit the label field type when viewing a case. Suggestions like the case tags will be provided to the user.
- [ ] Filtering by this field type is not required.
elasticmachine commented 3 months ago

Pinging @elastic/response-ops (Team:ResponseOps)

elasticmachine commented 3 months ago

Pinging @elastic/response-ops-cases (Feature:Cases)

Zacqary commented 1 day ago

Need some clarification on what's expected. Is this field going to be a Combo Box with multi-select and a list of suggested values?

Image

Are the suggested values defined in the field configuration, or are they determined dynamically when the user creates the case?

Users can specify if the field is required and provide default values. The default value field will provide suggestions like the case tags.

The default value field is on the Configure screen. So we want to dynamically populate its suggestions with all currently existing case tags? Is there a reason why the user would want to duplicate a case tag onto a custom field?