Skip to main content

Asana - Create Task

Overview​

Creates a new task within an Asana workspace. Can be created within or outside of a specific project

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Access TokenASANA_ACCESS_TOKENPasswordβœ…--The access token generated by Asana for programatic use
Workspace IDASANA_WORKSPACE_IDAlphanumericβœ…--The ID of the Asana Workspace
Project IDASANA_PROJECT_IDAlphanumericβž–--The optional ID of the project to create the task in
NameASANA_NAMEAlphanumericβœ…--The name of the Asana Task to be created
Resource SubtypeASANA_RESOURCE_SUBTYPESelectβœ…default_taskDefault Task: default_task

Milestone: milestone

Section: section

Approval: approval

The resource sub-type of the task (defaults to Default Task)
Approval StatusASANA_APPROVAL_STATUSSelectβœ…pendingPending: pending

Approved: approved

Rejected: rejected

Changes Requested: changes_requested

The approval status (defaults to Pending)
AssigneeASANA_ASSIGNEEAlphanumericβž–--The optional assignee of the task
Due OnASANA_DUE_ONAlphanumericβž–--The optional due date for the task
NotesASANA_NOTESAlphanumericβž–--The optional description for the task

YAML​

Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.

source:
blueprint: Asana - Create Task
inputs:
ASANA_ACCESS_TOKEN: null ## REQUIRED
ASANA_WORKSPACE_ID: null ## REQUIRED
ASANA_PROJECT_ID: null
ASANA_NAME: null ## REQUIRED
ASANA_RESOURCE_SUBTYPE: default_task ## REQUIRED
ASANA_APPROVAL_STATUS: pending ## REQUIRED
ASANA_ASSIGNEE: null
ASANA_DUE_ON: null
ASANA_NOTES: null
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '201'
- '202'