2.1.2 • Published 11 months ago
jira-issue-generator v2.1.2
jira-issue-generator
Generate CSV files for importing issues into Jira from markdown files.
Usage
- Create a Markdown file.
Create a YAML frontmatter section to specify global metadata
At the top of the file, add a snipped of YAML surrounded by horizontal rules.
--- parent: 'PAC-21694' --- # Your 1st issue
Check out the
Frontmatter
type for a list of expected keys.
Specify your Jira issues within it using Markdown syntax
- A leading level-1 heading (
# like this
) specifies the issue summary Optionally add a table underneath to add metadata about the issue
| Key | Value | | -------- | ----- | | Type | story | | Priority | 4 |
- The table must start with the header row "
|Key|Value|
" - Check the
IssueMetadata
type for supported metadata
- The table must start with the header row "
Add your (simple) Markdown-formatted description
- To create a 2nd issue, separate it from your 1st issue with a horizontal rule (eg:
---
)
!TIP Check out the sample issue file below for a full example.
- A leading level-1 heading (
Run
npx jira-issue-generator YOUR_MARKDOWN_FILE.md
to generate your CSV & JSON files for importing in to Jira.Open the Jira importer
- Go to Jira
- Select "Filters" in the top nav bar
- Click "View all issues"
- Click the overflow ("•••") in the top right
- Click "Import issues from CSV"
or
Add the generated CSV to "CSV Source File"
- Check "Use an existing configuration file"
- Select the generate JSON configuration
- Hit "Next" until you're done!
Sample issue file
---
parent: 'PAC-21694'
project-name: 'Integrations'
project-key: 'INT'
dev-team-name: 'Integrations'
dev-team-field-id: 10055
---
# Hello world
| Key | Value |
| -------- | ----- |
| Type | story |
| Priority | 3 |
Some simple **markdown** to describe the issue.
---
# A 2nd issue
| Key | Value |
| -------- | ----- |
| Type | bug |
| Priority | 1 |
Write a nice descriptive body