Reference

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 Required Options
Name: Fields

Label: Fields

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
Name: WorkspaceId

Label: Workspace Id

The workspace to filter tasks on. Note: If you specify workspace.
Name: Text

Label: Text

Performs full-text search on both task name and description.
Name: ProjectsNot

Label: Projects (NOT)

Comma-separated list of project IDs.
Name: ProjectsAll

Label: Projects (ALL)

Comma-separated list of project IDs.
Name: ProjectsAny

Label: Projects (ANY)

Comma-separated list of project IDs.
Name: SectionsNot

Label: Sections (NOT)

Comma-separated list of section IDs.
Name: SectionsAll

Label: Sections (ALL)

Comma-separated list of section IDs.
Name: SectionsAny

Label: Sections (ANY)

Comma-separated list of section IDs.
Name: TagNot

Label: Tags (NOT)

Comma-separated list of tag IDs.
Name: TagAll

Label: Tags (ALL)

Comma-separated list of tag IDs.
Name: TagAny

Label: Tags (ANY)

Comma-separated list of tag IDs.
Name: AssignedByNot

Label: Assigned By (NOT)

Comma-separated list of user IDs.
Name: AssignedByAll

Label: Assigned By (ALL)

Comma-separated list of user IDs.
Name: AssignedByAny

Label: Assigned By (ANY)

Comma-separated list of user IDs.
Name: PortfoliosAny

Label: Portfolios (ANY)

Comma-separated list of portfolio IDs.
Name: TeamsAny

Label: Teams (ANY)

Comma-separated list of team IDs.
Name: DueOn

Label: Due On

ISO 8601 date string (e.g. 2025-12-31).
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
Name: DueOnBefore

Label: Due On Before

ISO 8601 date string (e.g. 2025-12-31).
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
Name: DueOnAfter

Label: Due On After

ISO 8601 date string (e.g. 2025-12-31).
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
Name: DueOnNull

Label: Due On (Null)

Search for DueOn [null] value.
Option Value
null null
Name: StartOn

Label: Start On

ISO 8601 date string (e.g. 2025-12-31).
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
Name: StartOnBefore

Label: Start On Before

ISO 8601 date string (e.g. 2025-12-31).
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
Name: StartOnAfter

Label: Start On After

ISO 8601 date string (e.g. 2025-12-31).
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
Name: StartOnNull

Label: Start On (Null)

Search for StartOn [null] value.
Option Value
null null
Name: CreatedOn

Label: Created On

ISO 8601 date string (e.g. 2025-12-31).
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
Name: CreatedOnBefore

Label: Created On Before

ISO 8601 date string (e.g. 2025-12-31).
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
Name: CreatedOnAfter

Label: Created On After

ISO 8601 date string (e.g. 2025-12-31).
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
Name: CreatedOnNull

Label: Created On (Null)

Search for CreatedOn [null] value.
Option Value
null null
Name: ModifiedOn

Label: Modified On

ISO 8601 date string (e.g. 2025-12-31).
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
Name: ModifiedOnBefore

Label: Modified On Before

ISO 8601 date string (e.g. 2025-12-31).
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
Name: ModifiedOnAfter

Label: Modified On After

ISO 8601 date string (e.g. 2025-12-31).
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
Name: ModifiedOnNull

Label: Modified On (Null)

Search for ModifiedOn [null] value.
Option Value
null null
Name: CompletedOn

Label: Completed On

ISO 8601 date string (e.g. 2025-12-31).
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
Name: CompletedOnBefore

Label: Completed On Before

ISO 8601 date string (e.g. 2025-12-31).
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
Name: CompletedOnAfter

Label: Completed On After

ISO 8601 date string (e.g. 2025-12-31).
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
Name: CompletedOnNull

Label: Completed On (Null)

Search for CompletedOn [null] value.
Option Value
null null
Name: DueAt

Label: Due At

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: DueAtBefore

Label: Due At Before

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: DueAtAfter

Label: Due At After

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: StartAt

Label: Start At

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: StartAtBefore

Label: Start At Before

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: StartAtAfter

Label: Start At After

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: CreatedAt

Label: Created At

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: CreatedAtBefore

Label: Created At Before

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: CreatedAtAfter

Label: Created At After

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: ModifiedAt

Label: Modified At

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: ModifiedAtBefore

Label: Modified At Before

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: ModifiedAtAfter

Label: Modified At After

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: CompletedAt

Label: Completed At

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: CompletedAtBefore

Label: Completed At Before

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: CompletedAtAfter

Label: Completed At After

ISO 8601 date string (e.g. 2025-12-31T23:59:59).
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
Name: IsBlocked

Label: Is Blocked

Option Value
true true
false false
Name: IsBlocking

Label: Is Blocking

Option Value
true true
false false
Name: IsSubtask

Label: Is Subtask

Option Value
true true
false false
Name: HasAttachment

Label: Has Attachment

Option Value
true true
false false
Name: Completed

Label: Completed

Option Value
true true
false false
Name: SortBy

Label: Sort By

Option Value
due_date due_date
created_at created_at
completed_at completed_at
modified_at modified_at
likes likes
Name: SortAscending

Label: Sort Ascending

Option Value
true true
false false
Name: Limit

Label: Limit

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 Description
Id DT_WSTR nvarchar(50) 50
Name DT_WSTR nvarchar(255) 255
ActualTimeMinutes DT_I4 int
ApprovalStatus DT_WSTR nvarchar(50) 50
AssigneeStatus DT_WSTR nvarchar(50) 50
Completed DT_BOOL bit
CompletedAt DT_DBTIMESTAMP datetime
CompletedById DT_WSTR nvarchar(50) 50
CompletedByName DT_WSTR nvarchar(255) 255
CreatedAt DT_DBTIMESTAMP datetime
CreatedById DT_WSTR nvarchar(50) 50
CreatedByName DT_WSTR nvarchar(255) 255
Dependencies DT_WSTR nvarchar(500) 500
Dependents DT_WSTR nvarchar(500) 500
Subtasks DT_NTEXT nvarchar(MAX)
DueAt DT_DBTIMESTAMP datetime
DueOn DT_WSTR nvarchar(50) 50
ExternalData DT_WSTR nvarchar(100) 100
ExternalId DT_WSTR nvarchar(50) 50
Hearted DT_BOOL bit
Hearts DT_WSTR nvarchar(1000) 1000
HtmlNotes DT_NTEXT nvarchar(MAX)
IsRenderedAsSeparator DT_BOOL bit
Liked DT_BOOL bit
Likes DT_WSTR nvarchar(1000) 1000
Memberships DT_WSTR nvarchar(1000) 1000
ModifiedAt DT_DBTIMESTAMP datetime
Notes DT_WSTR nvarchar(2000) 2000
NumHearts DT_I4 int
NumLikes DT_I4 int
NumSubtasks DT_I4 int
ResourceSubtype DT_WSTR nvarchar(50) 50
StartAt DT_DBTIMESTAMP datetime
StartOn DT_WSTR nvarchar(50) 50
AssigneeId DT_WSTR nvarchar(50) 50
AssigneeName DT_WSTR nvarchar(255) 255
AssigneeSectionId DT_WSTR nvarchar(50) 50
AssigneeSectionName DT_WSTR nvarchar(255) 255
CustomFields DT_NTEXT nvarchar(MAX)
Followers DT_WSTR nvarchar(500) 500
ParentId DT_WSTR nvarchar(50) 50
ParentName DT_WSTR nvarchar(255) 255
ParentCreatedBy DT_WSTR nvarchar(255) 255
ParentResourceSubtype DT_WSTR nvarchar(50) 50
PermalinkUrl DT_WSTR nvarchar(500) 500
Projects DT_WSTR nvarchar(500) 500
Projects1Id DT_WSTR nvarchar(50) 50
Projects1Name DT_WSTR nvarchar(255) 255
Projects2Id DT_WSTR nvarchar(50) 50
Projects2Name DT_WSTR nvarchar(255) 255
Projects3Id DT_WSTR nvarchar(50) 50
Projects3Name DT_WSTR nvarchar(255) 255
Tags DT_WSTR nvarchar(500) 500
Tags1Id DT_WSTR nvarchar(50) 50
Tags1Name DT_WSTR nvarchar(255) 255
Tags2Id DT_WSTR nvarchar(50) 50
Tags2Name DT_WSTR nvarchar(255) 255
Tags3Id DT_WSTR nvarchar(50) 50
Tags3Name DT_WSTR nvarchar(255) 255
Tags4Id DT_WSTR nvarchar(50) 50
Tags4Name DT_WSTR nvarchar(255) 255
Tags5Id DT_WSTR nvarchar(50) 50
Tags5Name DT_WSTR nvarchar(255) 255
WorkspaceId DT_WSTR nvarchar(50) 50
WorkspaceName DT_WSTR nvarchar(255) 255
[Dynamic Column] DT_WSTR nvarchar(4000) 4000
If the column you are looking for is missing, consider customizing Asana Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length 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 or in API Destination SSIS Data Flow components to read or write data.

API Source

API Source - Asana
Read and write data related to Tasks, Projects, Workspaces, Portfolios, TimeEntries, Memberships and more.
Asana
Search Tasks (Advanced Filter)
Optional Parameters
Fields
Workspace Id
Text
Projects (NOT)
Projects (ALL)
Projects (ANY)
Sections (NOT)
Sections (ALL)
Sections (ANY)
Tags (NOT)
Tags (ALL)
Tags (ANY)
Assigned By (NOT)
Assigned By (ALL)
Assigned By (ANY)
Portfolios (ANY)
Teams (ANY)
Due On
Due On Before
Due On After
Due On (Null)
Start On
Start On Before
Start On After
Start On (Null)
Created On
Created On Before
Created On After
Created On (Null)
Modified On
Modified On Before
Modified On After
Modified On (Null)
Completed On
Completed On Before
Completed On After
Completed On (Null)
Due At
Due At Before
Due At After
Start At
Start At Before
Start At After
Created At
Created At Before
Created At After
Modified At
Modified At Before
Modified At After
Completed At
Completed At Before
Completed At After
Is Blocked
Is Blocking
Is Subtask
Has Attachment
Completed
Sort By
Sort Ascending
Continue On 404 Error (When record not found) False
SSIS API Source - Read from table or endpoint

API Destination

API Destination - Asana
Read and write data related to Tasks, Projects, Workspaces, Portfolios, TimeEntries, Memberships and more.
Asana
Search Tasks (Advanced Filter)
Optional Parameters
Fields
Workspace Id
Text
Projects (NOT)
Projects (ALL)
Projects (ANY)
Sections (NOT)
Sections (ALL)
Sections (ANY)
Tags (NOT)
Tags (ALL)
Tags (ANY)
Assigned By (NOT)
Assigned By (ALL)
Assigned By (ANY)
Portfolios (ANY)
Teams (ANY)
Due On
Due On Before
Due On After
Due On (Null)
Start On
Start On Before
Start On After
Start On (Null)
Created On
Created On Before
Created On After
Created On (Null)
Modified On
Modified On Before
Modified On After
Modified On (Null)
Completed On
Completed On Before
Completed On After
Completed On (Null)
Due At
Due At Before
Due At After
Start At
Start At Before
Start At After
Created At
Created At Before
Created At After
Modified At
Modified At Before
Modified At After
Completed At
Completed At Before
Completed At After
Is Blocked
Is Blocking
Is Subtask
Has Attachment
Completed
Sort By
Sort Ascending
Continue On 404 Error (When record not found) False
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 [LS_TO_ASANA_IN_GATEWAY];