asn_custom_fields_create: Creates a new custom field in a workspace. Every custom field...

View source: R/custom_fields.R

asn_custom_fields_createR Documentation

Creates a new custom field in a workspace. Every custom field is required to be created in a specific workspace, and this workspace cannot be changed once set.

Description

A custom field's ‘name' must be unique within a workspace and not conflict with names of existing task properties such as ’Due Date' or 'Assignee'. A custom field's ‘type' must be one of ’text', 'enum', or 'number'.

Usage

asn_custom_fields_create(..., options = list())

Arguments

...

Object Data for the request workspace : Id The workspace to create a custom field in. type : String The type of the custom field. name : String The name of the custom field. [description] : String The description of the custom field. [precision] : Integer The number of decimal places for the numerical values. Required if the custom field is of type 'number'. [enum_options] : String The discrete values the custom field can assume. Required if the custom field is of type 'enum'.

Details

Returns the full record of the newly created custom field.

See Also

Other custom_fields: asn_custom_fields_add_enum_option, 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.