Asana - Create Task
Overviewβ
Creates a new task within an Asana workspace. Can be created within or outside of a specific project
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Access Token | ASANA_ACCESS_TOKEN | Password | β | - | - | The access token generated by Asana for programatic use |
Workspace ID | ASANA_WORKSPACE_ID | Alphanumeric | β | - | - | The ID of the Asana Workspace |
Project ID | ASANA_PROJECT_ID | Alphanumeric | β | - | - | The optional ID of the project to create the task in |
Name | ASANA_NAME | Alphanumeric | β | - | - | The name of the Asana Task to be created |
Resource Subtype | ASANA_RESOURCE_SUBTYPE | Select | β | default_task | Default Task: default_task Milestone: milestone Section: section Approval: approval | The resource sub-type of the task (defaults to Default Task) |
Approval Status | ASANA_APPROVAL_STATUS | Select | β | pending | Pending: pending Approved: approved Rejected: rejected Changes Requested: changes_requested | The approval status (defaults to Pending) |
Assignee | ASANA_ASSIGNEE | Alphanumeric | β | - | - | The optional assignee of the task |
Due On | ASANA_DUE_ON | Alphanumeric | β | - | - | The optional due date for the task |
Notes | ASANA_NOTES | Alphanumeric | β | - | - | 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'