- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .env.example | ||
| .gitignore | ||
| add_comment.py | ||
| example.csv | ||
| jira_common.py | ||
| pyproject.toml | ||
| README.md | ||
| sync_issues.py | ||
| uv.lock | ||
Busywork: Jira bulk issue manager
Manage Jira issues in bulk using a CSV file as the source of truth.
Setup
uv sync
cp .env.example .env # then fill in JIRA_URL, JIRA_EMAIL, JIRA_API_TOKEN (and optionally JIRA_PROJECT)
Credentials can also be passed on the command line with --url, --email, --token
(or --env-file to point at a different .env).
CSV format
issue,summary,description,status,assigned user
,Set up CI pipeline,Add a build and test pipeline,backlog,
ABC-12,Write onboarding docs,"Local setup, accounts, access",in-progress,jane@example.com
| Column | Meaning |
|---|---|
issue |
Issue key. Leave blank to create a new issue; the script fills it in. |
summary |
Issue title (required for new issues). |
description |
Plain-text description. |
status |
Target status. Matched loosely, so in-progress matches In Progress. |
assigned user |
Email or display name. Blank on a new issue assigns it to you. |
Blank cells on existing issues leave that Jira field unchanged.
Create / update issues
uv run sync_issues.py issues.csv --dry-run # preview
uv run sync_issues.py issues.csv --project ABC # apply
uv run sync_issues.py issues.csv --issue-type Bug # new issues default to Task
uv run sync_issues.py issues.csv --parent ABC-100 # create new rows as children of ABC-100
Creating child issues
--parent KEY creates every new row as a child of that issue, in the parent's project:
- Parent is an epic: children default to
Task. - Parent is a regular issue: children default to the project's sub-task type.
Pass --issue-type to override either default (e.g. --parent ABC-100 --issue-type Story).
Existing rows are not re-parented.
New issue keys are written back to the CSV immediately after each one is created, so re-running after a failure won't create duplicates.
Status changes use the transitions available from the issue's current status. If the target isn't reachable in one step, the script reports which statuses are available.
Bulk comment
uv run add_comment.py issues.csv --comment "Deployed to staging"
echo "Deployed to staging" | uv run add_comment.py issues.csv
uv run add_comment.py --issues ABC-1 ABC-2 < notes.txt
Both scripts keep going if one row fails, then exit non-zero with a failure count.