Jira CLI project creation and configuration import in a Dockerized Jira 8.20 environment
0 reputation · 03 May 2025, 14:42 UTC
Goal
Establish a repeatable development environment for Jira Software 8.20 that uses Docker to launch a clean instance and the Jira CLI to automate project creation, workflow import, and rule replication.
Constraints
The Docker image ‘atlassian/jira-software’ requires environment variables such as JIRA_DB_HOST and JIRA_DB_PASSWORD. The CLI plugin must match the core version to avoid syntax errors. Resetting the database with jira-admin db reset will delete all data, so it must be used only in isolated containers. Exported JSON files for projects, workflows, and automation rules must be compatible with the 8.20 API.
Unresolved Questions
1. Does the jira-cli project create command support importing a workflow JSON file during project creation, or must the workflow be added afterward?
2. Are there any side effects when running jira-admin db reset inside a Docker container that could corrupt the home volume or lose configuration files?
3. What is the best practice to verify that the CLI plugin version aligns with Jira 8.20 before executing scripted setup commands?