> ## Documentation Index
> Fetch the complete documentation index at: https://kaneo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Import GitHub issues

> Import the linked repository's issues as tasks. Issues that already have a task are skipped.



## OpenAPI

````yaml /openapi.json post /github-integration/import-issues
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /github-integration/import-issues:
    post:
      tags:
        - GitHub
      summary: Import GitHub issues
      description: >-
        Import the linked repository's issues as tasks. Issues that already have
        a task are skipped.
      operationId: importGitHubIssues
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                projectId:
                  type: string
              required:
                - projectId
      responses:
        '200':
          description: Import summary
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssueImportResult'
        '400':
          description: projectId is required
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials
        '403':
          description: No workspace access, or missing task:create permission
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Project not found
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    IssueImportResult:
      type: object
      properties:
        imported:
          type: number
        skipped:
          type: number
          description: Issues that already had a task, or were not importable.
        errors:
          type: array
          items:
            type: string
      required:
        - imported
        - skipped
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````