asn_custom_fields_add_enum_option: Creates an enum option and adds it to this custom field's...

View source: R/custom_fields.R

asn_custom_fields_add_enum_optionR Documentation

Creates an enum option and adds it to this custom field's list of enum options. A custom field can have at most 50 enum options (including disabled options). By default new enum options are inserted at the end of a custom field's list.

Description

Returns the full record of the newly created enum option.

Usage

asn_custom_fields_add_enum_option(custom_field, ..., options = list())

Arguments

custom_field

Id Globally unique identifier for the custom field.#'

...

Object Data for the request name : String The name of the enum option. [color] : String The color of the enum option. Defaults to 'none'. [insert_before] : Id An existing enum option within this custom field before which the new enum option should be inserted. Cannot be provided together with after_enum_option. [insert_after] : Id An existing enum option within this custom field after which the new enum option should be inserted. Cannot be provided together with before_enum_option.

See Also

Other custom_fields: asn_custom_fields_create, asn_custom_fields_delete, asn_custom_fields_find_by_id, asn_custom_fields_find_by_workspace, asn_custom_fields_reorder_enum_option, asn_custom_fields_update_enum_option, asn_custom_fields_update, asn_custom_fields


datacamp/asana documentation built on Sept. 18, 2023, 8:51 a.m.