Function asana::apis::custom_fields_api::create_custom_field [−][src]
pub async fn create_custom_field(
configuration: &Configuration,
opt_pretty: Option<bool>,
opt_fields: Option<Vec<String>>,
limit: Option<i32>,
offset: Option<&str>,
inline_object1: Option<InlineObject1>
) -> Result<InlineResponse201, Error<CreateCustomFieldError>>
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. 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’. Returns the full record of the newly created custom field.