> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.todoist.core.MoveTask

- Component: `appmixer.todoist.core.MoveTask`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.todoist 1.1.3](https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3/component/appmixer.todoist.core.MoveTask>

Move a task to a different project or section.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Task ID (`taskId`) | text | The ID of the task to move. |
| Project (`projectId`) | select | The destination project. |
| Section (`sectionId`) | select | The destination section. |
| Parent Task ID (`parentId`) | text | The ID of the parent task to move under. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.todoist.core.MoveTask",
  "description": "Move a task to a different project or section.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:todoist"
  },
  "quota": {
    "manager": "appmixer:todoist",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "sectionId": {
            "type": "string"
          },
          "parentId": {
            "type": "string"
          }
        },
        "required": [
          "taskId"
        ]
      },
      "inspector": {
        "inputs": {
          "taskId": {
            "type": "text",
            "label": "Task ID",
            "tooltip": "The ID of the task to move.",
            "index": 1
          },
          "projectId": {
            "type": "select",
            "label": "Project",
            "tooltip": "The destination project.",
            "index": 2,
            "source": {
              "url": "/component/appmixer/todoist/core/ListProjectsSelect?outPort=out",
              "data": {
                "transform": "./transformers#projectsToSelectArray"
              }
            }
          },
          "sectionId": {
            "type": "select",
            "label": "Section",
            "tooltip": "The destination section.",
            "index": 3,
            "source": {
              "url": "/component/appmixer/todoist/core/ListSectionsSelect?outPort=out",
              "data": {
                "properties": {
                  "projectId": "properties/projectId"
                },
                "transform": "./transformers#sectionsToSelectArray"
              }
            }
          },
          "parentId": {
            "type": "text",
            "label": "Parent Task ID",
            "tooltip": "The ID of the parent task to move under.",
            "index": 4
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ],
  "icon": "(data URI omitted)"
}
```
