Asana Connector
Documentation
Version: 1
Documentation

EndPoint Search Tasks (Advanced Filter)


Name

search_tasks

Description

Search tasks with in a specified workspace (or default workspace) using advanced server side filters.

Parameters

Parameter Label Required Options Description
Fields Fields NO
Option Value
actual_time_minutes actual_time_minutes
subtasks subtasks
approval_status approval_status
assignee assignee
assignee.name assignee.name
assignee_section assignee_section
assignee_section.name assignee_section.name
assignee_status assignee_status
completed completed
completed_at completed_at
completed_by completed_by
completed_by.name completed_by.name
created_at created_at
created_by created_by
created_by.name created_by.name
custom_fields custom_fields
custom_fields.asana_created_field custom_fields.asana_created_field
custom_fields.created_by custom_fields.created_by
custom_fields.created_by.name custom_fields.created_by.name
custom_fields.currency_code custom_fields.currency_code
custom_fields.custom_label custom_fields.custom_label
custom_fields.custom_label_position custom_fields.custom_label_position
custom_fields.date_value custom_fields.date_value
custom_fields.date_value.date custom_fields.date_value.date
custom_fields.date_value.date_time custom_fields.date_value.date_time
custom_fields.description custom_fields.description
custom_fields.display_value custom_fields.display_value
custom_fields.enabled custom_fields.enabled
custom_fields.enum_options custom_fields.enum_options
custom_fields.enum_options.color custom_fields.enum_options.color
custom_fields.enum_options.enabled custom_fields.enum_options.enabled
custom_fields.enum_options.name custom_fields.enum_options.name
custom_fields.enum_value custom_fields.enum_value
custom_fields.enum_value.color custom_fields.enum_value.color
custom_fields.enum_value.enabled custom_fields.enum_value.enabled
custom_fields.enum_value.name custom_fields.enum_value.name
custom_fields.format custom_fields.format
custom_fields.has_notifications_enabled custom_fields.has_notifications_enabled
custom_fields.id_prefix custom_fields.id_prefix
custom_fields.is_formula_field custom_fields.is_formula_field
custom_fields.is_global_to_workspace custom_fields.is_global_to_workspace
custom_fields.is_value_read_only custom_fields.is_value_read_only
custom_fields.multi_enum_values custom_fields.multi_enum_values
custom_fields.multi_enum_values.color custom_fields.multi_enum_values.color
custom_fields.multi_enum_values.enabled custom_fields.multi_enum_values.enabled
custom_fields.multi_enum_values.name custom_fields.multi_enum_values.name
custom_fields.name custom_fields.name
custom_fields.number_value custom_fields.number_value
custom_fields.people_value custom_fields.people_value
custom_fields.people_value.name custom_fields.people_value.name
custom_fields.precision custom_fields.precision
custom_fields.representation_type custom_fields.representation_type
custom_fields.resource_subtype custom_fields.resource_subtype
custom_fields.text_value custom_fields.text_value
custom_fields.type custom_fields.type
dependencies dependencies
dependents dependents
due_at due_at
due_on due_on
external external
external.data external.data
followers followers
followers.name followers.name
hearted hearted
hearts hearts
hearts.user hearts.user
hearts.user.name hearts.user.name
html_notes html_notes
is_rendered_as_separator is_rendered_as_separator
liked liked
likes likes
likes.user likes.user
likes.user.name likes.user.name
memberships memberships
memberships.project memberships.project
memberships.project.name memberships.project.name
memberships.section memberships.section
memberships.section.name memberships.section.name
modified_at modified_at
name name
notes notes
num_hearts num_hearts
num_likes num_likes
num_subtasks num_subtasks
parent parent
parent.created_by parent.created_by
parent.name parent.name
parent.resource_subtype parent.resource_subtype
permalink_url permalink_url
projects projects
projects.name projects.name
resource_subtype resource_subtype
start_at start_at
start_on start_on
tags tags
tags.name tags.name
workspace workspace
workspace.name workspace.name
WorkspaceId Workspace Id NO The workspace to filter tasks on. Note: If you specify workspace.
Text Text NO Performs full-text search on both task name and description.
ProjectsNot Projects (NOT) NO Comma-separated list of project IDs.
ProjectsAll Projects (ALL) NO Comma-separated list of project IDs.
ProjectsAny Projects (ANY) NO Comma-separated list of project IDs.
SectionsNot Sections (NOT) NO Comma-separated list of section IDs.
SectionsAll Sections (ALL) NO Comma-separated list of section IDs.
SectionsAny Sections (ANY) NO Comma-separated list of section IDs.
TagNot Tags (NOT) NO Comma-separated list of tag IDs.
TagAll Tags (ALL) NO Comma-separated list of tag IDs.
TagAny Tags (ANY) NO Comma-separated list of tag IDs.
AssignedByNot Assigned By (NOT) NO Comma-separated list of user IDs.
AssignedByAll Assigned By (ALL) NO Comma-separated list of user IDs.
AssignedByAny Assigned By (ANY) NO Comma-separated list of user IDs.
PortfoliosAny Portfolios (ANY) NO Comma-separated list of portfolio IDs.
TeamsAny Teams (ANY) NO Comma-separated list of team IDs.
DueOn Due On NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
DueOnBefore Due On Before NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
DueOnAfter Due On After NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
DueOnNull Due On (Null) NO
Option Value
null null
Search for DueOn [null] value.
StartOn Start On NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
StartOnBefore Start On Before NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
StartOnAfter Start On After NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
StartOnNull Start On (Null) NO
Option Value
null null
Search for StartOn [null] value.
CreatedOn Created On NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
CreatedOnBefore Created On Before NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
CreatedOnAfter Created On After NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
CreatedOnNull Created On (Null) NO
Option Value
null null
Search for CreatedOn [null] value.
ModifiedOn Modified On NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
ModifiedOnBefore Modified On Before NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
ModifiedOnAfter Modified On After NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
ModifiedOnNull Modified On (Null) NO
Option Value
null null
Search for ModifiedOn [null] value.
CompletedOn Completed On NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
CompletedOnBefore Completed On Before NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
CompletedOnAfter Completed On After NO
Option Value
2023-12-31 2023-12-31
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31).
CompletedOnNull Completed On (Null) NO
Option Value
null null
Search for CompletedOn [null] value.
DueAt Due At NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
DueAtBefore Due At Before NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
DueAtAfter Due At After NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
StartAt Start At NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
StartAtBefore Start At Before NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
StartAtAfter Start At After NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
CreatedAt Created At NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
CreatedAtBefore Created At Before NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
CreatedAtAfter Created At After NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
ModifiedAt Modified At NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
ModifiedAtBefore Modified At Before NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
ModifiedAtAfter Modified At After NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
CompletedAt Completed At NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
CompletedAtBefore Completed At Before NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
CompletedAtAfter Completed At After NO
Option Value
2023-12-31 2023-12-31
2023-12-31T00:00:00 2023-12-31T00:00:00
now now
now-24h now-24h
today today
yesterday yesterday
yearstart-10y yearstart-10y
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
monthend+1d-1y monthend+1d-1y
ISO 8601 date string (e.g. 2025-12-31T23:59:59).
IsBlocked Is Blocked NO
Option Value
true true
false false
IsBlocking Is Blocking NO
Option Value
true true
false false
IsSubtask Is Subtask NO
Option Value
true true
false false
HasAttachment Has Attachment NO
Option Value
true true
false false
Completed Completed NO
Option Value
true true
false false
SortBy Sort By NO
Option Value
due_date due_date
created_at created_at
completed_at completed_at
modified_at modified_at
likes likes
SortAscending Sort Ascending NO
Option Value
true true
false false
Limit Limit NO Results per page. The number of objects to return per page. The value must be between 1 and 100.

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(50) 50 False
Name DT_WSTR nvarchar(255) 255 False
ActualTimeMinutes DT_I4 int False
ApprovalStatus DT_WSTR nvarchar(50) 50 False
AssigneeStatus DT_WSTR nvarchar(50) 50 False
Completed DT_BOOL bit False
CompletedAt DT_DBTIMESTAMP datetime False
CompletedById DT_WSTR nvarchar(50) 50 False
CompletedByName DT_WSTR nvarchar(255) 255 False
CreatedAt DT_DBTIMESTAMP datetime False
CreatedById DT_WSTR nvarchar(50) 50 False
CreatedByName DT_WSTR nvarchar(255) 255 False
Dependencies DT_WSTR nvarchar(500) 500 False
Dependents DT_WSTR nvarchar(500) 500 False
Subtasks DT_NTEXT nvarchar(MAX) False
DueAt DT_DBTIMESTAMP datetime False
DueOn DT_WSTR nvarchar(50) 50 False
ExternalData DT_WSTR nvarchar(100) 100 False
ExternalId DT_WSTR nvarchar(50) 50 False
Hearted DT_BOOL bit False
Hearts DT_WSTR nvarchar(1000) 1000 False
HtmlNotes DT_NTEXT nvarchar(MAX) False
IsRenderedAsSeparator DT_BOOL bit False
Liked DT_BOOL bit False
Likes DT_WSTR nvarchar(1000) 1000 False
Memberships DT_WSTR nvarchar(1000) 1000 False
ModifiedAt DT_DBTIMESTAMP datetime False
Notes DT_WSTR nvarchar(2000) 2000 False
NumHearts DT_I4 int False
NumLikes DT_I4 int False
NumSubtasks DT_I4 int False
ResourceSubtype DT_WSTR nvarchar(50) 50 False
StartAt DT_DBTIMESTAMP datetime False
StartOn DT_WSTR nvarchar(50) 50 False
AssigneeId DT_WSTR nvarchar(50) 50 False
AssigneeName DT_WSTR nvarchar(255) 255 False
AssigneeSectionId DT_WSTR nvarchar(50) 50 False
AssigneeSectionName DT_WSTR nvarchar(255) 255 False
CustomFields DT_NTEXT nvarchar(MAX) False
Followers DT_WSTR nvarchar(500) 500 False
ParentId DT_WSTR nvarchar(50) 50 False
ParentName DT_WSTR nvarchar(255) 255 False
ParentCreatedBy DT_WSTR nvarchar(255) 255 False
ParentResourceSubtype DT_WSTR nvarchar(50) 50 False
PermalinkUrl DT_WSTR nvarchar(500) 500 False
Projects DT_WSTR nvarchar(500) 500 False
Projects1Id DT_WSTR nvarchar(50) 50 False
Projects1Name DT_WSTR nvarchar(255) 255 False
Projects2Id DT_WSTR nvarchar(50) 50 False
Projects2Name DT_WSTR nvarchar(255) 255 False
Projects3Id DT_WSTR nvarchar(50) 50 False
Projects3Name DT_WSTR nvarchar(255) 255 False
Tags DT_WSTR nvarchar(500) 500 False
Tags1Id DT_WSTR nvarchar(50) 50 False
Tags1Name DT_WSTR nvarchar(255) 255 False
Tags2Id DT_WSTR nvarchar(50) 50 False
Tags2Name DT_WSTR nvarchar(255) 255 False
Tags3Id DT_WSTR nvarchar(50) 50 False
Tags3Name DT_WSTR nvarchar(255) 255 False
Tags4Id DT_WSTR nvarchar(50) 50 False
Tags4Name DT_WSTR nvarchar(255) 255 False
Tags5Id DT_WSTR nvarchar(50) 50 False
Tags5Name DT_WSTR nvarchar(255) 255 False
WorkspaceId DT_WSTR nvarchar(50) 50 False
WorkspaceName DT_WSTR nvarchar(255) 255 False
[Dynamic Column] DT_WSTR nvarchar(4000) 4000 False

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Asana Connector in API Source component to read data or in API Destination component to read/write data:

Search Tasks (Advanced Filter) using API Source

Asana
Search Tasks (Advanced Filter)
SSIS API Source - Read from table or endpoint

Search Tasks (Advanced Filter) using API Destination

Asana
Search Tasks (Advanced Filter)
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Search Tasks (Advanced Filters - Just like Asana Search UI)

--//search text in task title or description
SELECT * FROM search_tasks WITH(Text='Hotfix')

--//search text in all tasks from any projects listed below
SELECT * FROM search_tasks WITH(Text='Hotfix', ProjectsAny='1200652735638082,1206028542305053')

--//list all tasks from any projects listed below
SELECT * FROM search_tasks WITH(Text='Hotfix', ProjectsAny='1200652735638082,1206028542305053')

--//list all tasks due on specified date (same way you can use CreatedOn, CompletedOn ...) 
SELECT * FROM search_tasks WITH(DueOn='2024-12-21')

--//list all tasks with due date after specified date (same way you can use CreatedOnAfter, CompletedOnAfter ...) 
SELECT * FROM search_tasks WITH(DueOnAfter='2024-12-21')
SELECT * FROM search_tasks WITH(DueOnAfter='yearstart+1d')

--//list all tasks with due date after specified date (same way you can use CreatedOnBefore, CompletedOnBefore ...) 
SELECT * FROM search_tasks WITH(DueOnBefore='2024-12-21')
SELECT * FROM search_tasks WITH(DueOnBefore='monthstart-5d')

--//list all tasks with due date after specified datetime (same way you can use CreatedAtBefore, CompletedAtBefore ...) 
SELECT * FROM search_tasks WITH(DueAtBefore='2024-12-21T23:59:59')
SELECT * FROM search_tasks WITH(DueAtBefore='now-10h')

--//list all tasks with attachment
SELECT * FROM search_tasks WITH(HasAttachment='true')

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Search Tasks (Advanced Filters - Just like Asana Search UI)

DECLARE @MyQuery NVARCHAR(MAX) = '--//search text in task title or description
SELECT * FROM search_tasks WITH(Text=''Hotfix'')

--//search text in all tasks from any projects listed below
SELECT * FROM search_tasks WITH(Text=''Hotfix'', ProjectsAny=''1200652735638082,1206028542305053'')

--//list all tasks from any projects listed below
SELECT * FROM search_tasks WITH(Text=''Hotfix'', ProjectsAny=''1200652735638082,1206028542305053'')

--//list all tasks due on specified date (same way you can use CreatedOn, CompletedOn ...) 
SELECT * FROM search_tasks WITH(DueOn=''2024-12-21'')

--//list all tasks with due date after specified date (same way you can use CreatedOnAfter, CompletedOnAfter ...) 
SELECT * FROM search_tasks WITH(DueOnAfter=''2024-12-21'')
SELECT * FROM search_tasks WITH(DueOnAfter=''yearstart+1d'')

--//list all tasks with due date after specified date (same way you can use CreatedOnBefore, CompletedOnBefore ...) 
SELECT * FROM search_tasks WITH(DueOnBefore=''2024-12-21'')
SELECT * FROM search_tasks WITH(DueOnBefore=''monthstart-5d'')

--//list all tasks with due date after specified datetime (same way you can use CreatedAtBefore, CompletedAtBefore ...) 
SELECT * FROM search_tasks WITH(DueAtBefore=''2024-12-21T23:59:59'')
SELECT * FROM search_tasks WITH(DueAtBefore=''now-10h'')

--//list all tasks with attachment
SELECT * FROM search_tasks WITH(HasAttachment=''true'')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_ASANA_IN_DATA_GATEWAY];