Unable to create Asana task directly in specific section (MCP)

Description

When attempting to create an Asana task directly in a specific section using the asana_create_task tool with the section parameter, the task is still being created in the “Untitled section” instead of the specified section.

Steps to Reproduce

  1. Retrieve section IDs using asana_get_project_sections
  2. Try to create a task in a specific section using asana_create_task with the section parameter set to a valid section ID
  3. Task is created but appears in “Untitled section” instead of the specified section

Expected Behavior

The task should be created directly in the specified section.

Actual Behavior

The task is created in the default “Untitled section” regardless of the specified section ID.

API Response

The API returns a successful response with the task created, but the memberships field shows it in the “Untitled section”:

"memberships": [
  {
    "project": {
      "gid": "1209811434790214",
      "resource_type": "project",
      "name": "Roman"
    },
    "section": {
      "gid": "1209811434790215",
      "resource_type": "section",
      "name": "Untitled section"
    }
  }
]

Possible Solutions

  1. Investigate if there’s a separate API call needed to move a task to a section after creation
  2. Check if the section parameter expects a different format or additional parameters
  3. Look for alternative ways to specify the section during task creation

Additional Context

This issue affects workflow automation where tasks need to be created directly in the correct section.

Hi @Marius_Wilsch and welcome to the forum,

(FYI I moved your post to a more relevant forum section for API questions.)

Not a bug actually; you can’t use the section property on a task to set its section. When creating a new task, use the memberships property to specify the section it should go into, per the API docs:

1 Like

Okay thank you. It’s seems though that the MCP is trying to use the section instead. I will look into this

1 Like