This guide explains how to populate your Jira instance with sample data for testing purposes.
- Create a Jira project in your account after completing the Jira account creation and setting up the required environment variables
- Add your project key to the
.env
file:
JIRA_SEED_PROJECT_KEY="your-project-key"
- Use the seedJira API to populate sample data
- Sample data definitions are located in:
To populate your Jira instance with sample data, simply call the seedJira API endpoint. This will create test records using the predefined data templates.
JIRA_JQL_QUERY="project = 'CPG' AND textfields ~ 'SEARCH_FIELD' ORDER BY created DESC"