pub async fn get_default_values(
configuration: &Configuration,
field_id: &str,
context_id: Option<Vec<i64>>,
start_at: Option<i64>,
max_results: Option<i32>,
) -> Result<PageBeanCustomFieldContextDefaultValue, Error<GetDefaultValuesError>>
Expand description
Returns a paginated list of defaults for a custom field. The results can be filtered by contextId
, otherwise all values are returned. If no defaults are set for a context, nothing is returned. The returned object depends on type of the custom field: * 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. Permissions required: Administer Jira global permission.