asn_tasks_add_project: Adds the task to the specified project, in the optional...

View source: R/tasks.R

asn_tasks_add_projectR Documentation

Adds the task to the specified project, in the optional location specified. If no location arguments are given, the task will be added to the end of the project.

Description

'addProject' can also be used to reorder a task within a project or section that already contains it.

Usage

asn_tasks_add_project(task, ..., options = list())

Arguments

task

Id The task to add to a project.#'

...

Object Data for the request project : Id The project to add the task to. [insert_after] : Id A task in the project to insert the task after, or 'null' to insert at the beginning of the list. [insert_before] : Id A task in the project to insert the task before, or 'null' to insert at the end of the list. [section] : Id A section in the project to insert the task into. The task will be inserted at the bottom of the section.

Details

At most one of 'insert_before', 'insert_after', or 'section' should be specified. Inserting into a section in an non-order-dependent way can be done by specifying 'section', otherwise, to insert within a section in a particular place, specify 'insert_before' or 'insert_after' and a task within the section to anchor the position of this task.

Returns an empty data block.

See Also

Other tasks: asn_tasks_add_comment, asn_tasks_add_dependencies, asn_tasks_add_dependents, asn_tasks_add_followers, asn_tasks_add_subtask, asn_tasks_add_tag, asn_tasks_create_in_workspace, asn_tasks_create, asn_tasks_delete, asn_tasks_dependencies, asn_tasks_dependents, asn_tasks_find_all, asn_tasks_find_by_id, asn_tasks_find_by_project, asn_tasks_find_by_section, asn_tasks_find_by_tag, asn_tasks_projects, asn_tasks_remove_dependencies, asn_tasks_remove_dependents, asn_tasks_remove_followers, asn_tasks_remove_project, asn_tasks_remove_tag, asn_tasks_search, asn_tasks_stories, asn_tasks_subtasks, asn_tasks_tags, asn_tasks_update, asn_tasks


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