---
title: "Import Gitea issues"
method: POST
path: "/gitea-integration/import-issues"
tags: ["Gitea"]
---

# Import Gitea issues

`POST /gitea-integration/import-issues`

Import the linked repository's issues as tasks. Issues that already have a task are refreshed rather than duplicated.

## Request body

- object
  - `projectId` string, required

## Response `200`

Import summary

- GiteaImportResult
  - `imported` number, required
  - `updated` number, required — Existing tasks that were refreshed from their issue.
  - `skipped` number, required
  - `errors` string[]

## Other responses

- `400` — projectId is required
- `401` — Missing or invalid credentials
- `403` — No workspace access, or missing task:create permission
- `404` — Project not found

## Changes

- **2026-08-24** `08bbb5bedb5d` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
- **2026-07-11** `32cece1ebe43` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/gitea-integration/import-issues/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/9d1da42c10ce/schema)
