Function set_default_values

Source
pub async fn set_default_values(
    configuration: &Configuration,
    field_id: &str,
    custom_field_context_default_value_update: CustomFieldContextDefaultValueUpdate,
) -> Result<Value, Error<SetDefaultValuesError>>
Expand description

Sets default for contexts of a custom field. Default are defined using these objects: * CustomFieldContextDefaultValueSingleOption (type option.single) for single choice select lists and radio buttons. * CustomFieldContextDefaultValueMultipleOption (type option.multiple) for multiple choice select lists and checkboxes. * CustomFieldContextDefaultValueCascadingOption (type option.cascading) for cascading select lists. Only one type of default object can be included in a request. To remove a default for a context, set the default parameter to null. Permissions required: Administer Jira global permission.