mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-12 09:04:14 +02:00
0e10f52317
* Load and parse xml * Priority and status * Replace foreach * type property * explicitArray false * Parse description html * Use turndown to convert html * Allow optional priority * Import assignee and reporter as Select * Store original URL * Created date * Created date * Update readme * .gitignore * Update readme * Update import readme * Fix readme * Update import/jira/README.md Fix typo. Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> * Remove commented out line * Add basic Jest test * Test that import was complete Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
importJira.ts | ||
jiraImporter.test.ts | ||
jiraImporter.ts | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
utils.ts |
Jira importer
This node app converts a Jira xml export into a Focalboard archive. To use:
- Open Jira advanced search, and search for all the items to export
- Select
Export
, thenExport XML
- Save it locally, e.g. to
jira_export.xml
- Run
npm install
from withinfocalboard/webapp
- Run
npm install
from withinfocalboard/import/jira
- Run
npx ts-node importJira.ts -i <path-to-jira.xml> -o archive.focalboard
(also from withinfocalboard/import/jira
) - In Focalboard, click
Settings
, thenImport archive
and selectarchive.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.