jira-issue-generator
v2.1.2
Published
Generate CSV files for importing issues into Jira from markdown files.
Downloads
8
Maintainers
Readme
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 summaryOptionally 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.
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
https://paciolan.atlassian.net/secure/BulkCreateSetupPage!default.jspa?externalSystem=com.atlassian.jira.plugins.jim-plugin%3AbulkCreateCsv&new=true
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