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

# Move roadmap items to another portal

> Move every project and issue on one portal to another in one call. Items on other portals keep them.



## OpenAPI

````yaml openapi-v2.json post /portal/instances/{id}/move-items
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /portal/instances/{id}/move-items:
    post:
      tags:
        - portal
      summary: Move roadmap items to another portal
      description: >-
        Move every project and issue on one portal to another in one call. Items
        on other portals keep them.
      operationId: portal-moveItems
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            Portal to move items off, from GET /portal/instances. `__main__` for
            the Main portal.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                to_portal_instance_id:
                  type: string
                  description: >-
                    Portal to move items onto, from GET /portal/instances.
                    `__main__` for the Main portal.
                resources:
                  type: array
                  items:
                    type: string
                    enum:
                      - projects
                      - issues
                  minItems: 1
                  default:
                    - projects
                    - issues
                  description: 'Which roadmap items to move: `projects`, `issues` or both.'
                dry_run:
                  type: boolean
                  default: false
                  description: Count what would move without changing anything.
              required:
                - to_portal_instance_id
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  projects_moved:
                    type: integer
                  issues_moved:
                    type: integer
                  dry_run:
                    type: boolean
                required:
                  - projects_moved
                  - issues_moved
                  - dry_run
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.