1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-03 08:45:40 +02:00
focalboard/import/jira
dependabot[bot] ffd791e085
Bump minimist from 1.2.5 to 1.2.6 in /import/jira (#2614)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 17:32:25 -06:00
..
test
.gitignore
importJira.ts
jiraImporter.test.ts
jiraImporter.ts Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
package-lock.json Bump minimist from 1.2.5 to 1.2.6 in /import/jira (#2614) 2022-03-23 17:32:25 -06:00
package.json Bump minimist from 1.2.5 to 1.2.6 in /import/jira (#2614) 2022-03-23 17:32:25 -06:00
README.md
tsconfig.json
utils.ts

Jira importer

This node app converts a Jira xml export into a Focalboard archive. To use:

  1. Open Jira advanced search, and search for all the items to export
  2. Select Export, then Export XML
  3. Save it locally, e.g. to jira_export.xml
  4. Run npm install from within focalboard/webapp
  5. Run npm install from within focalboard/import/jira
  6. Run npx ts-node importJira.ts -i <path-to-jira.xml> -o archive.focalboard (also from within focalboard/import/jira)
  7. In Focalboard, click Settings, then Import archive and select archive.focalboard

Import scope and known limitations

Currently, the script imports each item as a card into a single board. Note that Jira XML export is limited to 1000 issues at a time.

Users are imported as Select properties, with the name of the user.

The following aren't currently imported:

  • Custom properties
  • Comments
  • Embedded files

Contribute code to expand this.