Skip to content

Export/Import tickets between workspaces #80

@anotheri

Description

@anotheri

There is no an option to import tickets into workspace, created already in different workspace. I've tried to use Pivotal Tracker CSV importer but it failed with the next error (see below). It says priority: 8, but it is not priority, it's estimation based on exported CSV from Linear.app. So it would be great if I can move tickets from one workspace to another any possible way.

Error occurred while importing:

{
  "errors": [
    {
      "message": "Invalid input: Priority cannot be higher than 4.",
      "path": [
        "issueCreate"
      ],
      "locations": [
        {
          "line": 12,
          "column": 13
        }
      ],
      "extensions": {
        "type": "invalid input",
        "userError": true,
        "userPresentableMessage": "Invalid input: Priority cannot be higher than 4.",
        "fieldErrors": {
          "priority": [
            "Priority cannot be higher than 4."
          ]
        }
      }
    }
  ],
  "data": null
}
Error: Invalid input: Priority cannot be higher than 4.: {"response":{"errors":[{"message":"Invalid input: Priority cannot be higher than 4.","path":["issueCreate"],"locations":[{"line":12,"column":13}],"extensions":{"type":"invalid input","userError":true,"userPresentableMessage":"Invalid input: Priority cannot be higher than 4.","fieldErrors":{"priority":["Priority cannot be higher than 4."]}}}],"data":null,"status":200},"request":{"query":"\n          mutation createIssue(\n              $teamId: String!,\n              $projectId: String,\n              $title: String!,\n              $description: String,\n              $priority: Int,\n              $labelIds: [String!]\n              $stateId: String\n              $assigneeId: String\n            ) {\n            issueCreate(input: {\n                                teamId: $teamId,\n                                projectId: $projectId,\n                                title: $title,\n                                description: $description,\n                                priority: $priority,\n                                labelIds: $labelIds\n                                stateId: $stateId\n                                assigneeId: $assigneeId\n                              }) {\n              success\n            }\n          }\n        ","variables":{"teamId":"3d3e02ed-e46c-422a-a4bf-a070e9161b49","title":"sub issue 2","priority":8,"labelIds":[],"stateId":"d961b109-e902-46c7-be77-fe45c05103ae"}}}
    at GraphQLClient.<anonymous> (/Users/anotheri/Development/linear-import/src/client/index.ts:59:13)
    at step (/Users/anotheri/Development/linear-import/node_modules/tslib/tslib.js:136:27)
    at Object.next (/Users/anotheri/Development/linear-import/node_modules/tslib/tslib.js:117:57)
    at fulfilled (/Users/anotheri/Development/linear-import/node_modules/tslib/tslib.js:107:62)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  response: { errors: [ [Object] ], data: null, status: 200 },
  request: {
    query: '\n' +
      '          mutation createIssue(\n' +
      '              $teamId: String!,\n' +
      '              $projectId: String,\n' +
      '              $title: String!,\n' +
      '              $description: String,\n' +
      '              $priority: Int,\n' +
      '              $labelIds: [String!]\n' +
      '              $stateId: String\n' +
      '              $assigneeId: String\n' +
      '            ) {\n' +
      '            issueCreate(input: {\n' +
      '                                teamId: $teamId,\n' +
      '                                projectId: $projectId,\n' +
      '                                title: $title,\n' +
      '                                description: $description,\n' +
      '                                priority: $priority,\n' +
      '                                labelIds: $labelIds\n' +
      '                                stateId: $stateId\n' +
      '                                assigneeId: $assigneeId\n' +
      '                              }) {\n' +
      '              success\n' +
      '            }\n' +
      '          }\n' +
      '        ',
    variables: {
      teamId: '3d3e02ed-e46c-422a-a4bf-a070e9161b49',
      projectId: undefined,
      title: 'sub issue 2',
      description: undefined,
      priority: 8,
      labelIds: [],
      stateId: 'd961b109-e902-46c7-be77-fe45c05103ae',
      assigneeId: undefined
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions