Create a new custom field definition and attach it to the board.
add_field(id, type, name = "New field", body = NULL, ...)add_field_checkbox(id, name = "New checkbox", body = NULL, ...)
add_field_date(id, name = "New date", body = NULL, ...)
add_field_dropdown(id, name = "New dropdown", body = NULL, ...)
add_field_number(id, name = "New number", body = NULL, ...)
add_field_text(id, name = "New text", body = NULL, ...)
Board ID
Custom field type
Custom field name
Named list with additional parameters
Additional arguments passed to create_resource()
For add_field_dropdown
- options can be provided using a single (optionally
named) vector:
body = list(options = c(red = "Alert", green = "Ok", "Nothing"))
Other functions to handle custom fields:
add_field_option()
,
delete_field_option()
,
delete_field()
,
update_card_field()
,
update_field()