Module asana::apis::tasks_api [−][src]
Enums
AddDependenciesForTaskError | struct for typed errors of method |
AddDependentsForTaskError | struct for typed errors of method |
AddFollowersForTaskError | struct for typed errors of method |
AddProjectForTaskError | struct for typed errors of method |
AddTagForTaskError | struct for typed errors of method |
CreateSubtaskForTaskError | struct for typed errors of method |
CreateTaskError | struct for typed errors of method |
DeleteTaskError | struct for typed errors of method |
DuplicateTaskError | struct for typed errors of method |
GetDependenciesForTaskError | struct for typed errors of method |
GetDependentsForTaskError | struct for typed errors of method |
GetSubtasksForTaskError | struct for typed errors of method |
GetTaskError | struct for typed errors of method |
GetTasksError | struct for typed errors of method |
GetTasksForProjectError | struct for typed errors of method |
GetTasksForSectionError | struct for typed errors of method |
GetTasksForTagError | struct for typed errors of method |
GetTasksForUserTaskListError | struct for typed errors of method |
RemoveDependenciesForTaskError | struct for typed errors of method |
RemoveDependentsForTaskError | struct for typed errors of method |
RemoveFollowerForTaskError | struct for typed errors of method |
RemoveProjectForTaskError | struct for typed errors of method |
RemoveTagForTaskError | struct for typed errors of method |
SearchTasksForWorkspaceError | struct for typed errors of method |
SetParentForTaskError | struct for typed errors of method |
UpdateTaskError | struct for typed errors of method |
Functions
add_dependencies_for_task | Marks a set of tasks as dependencies of this task, if they are not already dependencies. A task can have at most 15 dependencies. |
add_dependents_for_task | Marks a set of tasks as dependents of this task, if they are not already dependents. A task can have at most 30 dependents. |
add_followers_for_task | Adds followers to a task. Returns an empty data block. Each task can be associated with zero or more followers in the system. Requests to add/remove followers, if successful, will return the complete updated task record, described above. |
add_project_for_task | 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. |
add_tag_for_task | Adds a tag to a task. Returns an empty data block. |
create_subtask_for_task | Creates a new subtask and adds it to the parent task. Returns the full record for the newly created subtask. |
create_task | Creating a new task is as easy as POSTing to the |
delete_task | A specific, existing task can be deleted by making a DELETE request on the URL for that task. Deleted tasks go into the “trash” of the user making the delete request. Tasks can be recovered from the trash within a period of 30 days; afterward they are completely removed from the system. Returns an empty data record. |
duplicate_task | Creates and returns a job that will asynchronously handle the duplication. |
get_dependencies_for_task | Returns the compact representations of all of the dependencies of a task. |
get_dependents_for_task | Returns the compact representations of all of the dependents of a task. |
get_subtasks_for_task | Returns a compact representation of all of the subtasks of a task. |
get_task | Returns the complete task record for a single task. |
get_tasks | Returns the compact task records for some filtered set of tasks. Use one or more of the parameters provided to filter the tasks returned. You must specify a |
get_tasks_for_project | Returns the compact task records for all tasks within the given project, ordered by their priority within the project. Tasks can exist in more than one project at a time. |
get_tasks_for_section | Board view only: Returns the compact section records for all tasks within the given section. |
get_tasks_for_tag | Returns the compact task records for all tasks with the given tag. Tasks can have more than one tag at a time. |
get_tasks_for_user_task_list | Returns the compact list of tasks in a user’s My Tasks list. Note: Access control is enforced for this endpoint as with all Asana API endpoints, meaning a user’s private tasks will be filtered out if the API-authenticated user does not have access to them. Note: Both complete and incomplete tasks are returned by default unless they are filtered out (for example, setting |
remove_dependencies_for_task | Unlinks a set of dependencies from this task. |
remove_dependents_for_task | Unlinks a set of dependents from this task. |
remove_follower_for_task | Removes each of the specified followers from the task if they are following. Returns the complete, updated record for the affected task. |
remove_project_for_task | Removes the task from the specified project. The task will still exist in the system, but it will not be in the project anymore. Returns an empty data block. |
remove_tag_for_task | Removes a tag from a task. Returns an empty data block. |
search_tasks_for_workspace | To mirror the functionality of the Asana web app’s advanced search feature, the Asana API has a task search endpoint that allows you to build complex filters to find and retrieve the exact data you need. #### Premium access Like the Asana web product’s advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true: - The workspace in which the search is being performed is a premium workspace - The user is a member of a premium team inside the workspace Even if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-premium user will result in a |
set_parent_for_task | parent, or no parent task at all. Returns an empty data block. When using |
update_task | A specific, existing task can be updated by making a PUT request on the URL for that task. Only the fields provided in the |