Bulk update Jira issues using jirac.
Steps:
- Check that
jiracis available by runningjirac --version. If it is missing, tell the user to install it withcargo install jira-commands. - Extract from the user's request:
- JQL filter, or enough context to build one
- new assignee (email or "me") and/or new priority
- whether to skip confirmation
- At least one of
--assigneeor--prioritymust be provided. - Run
jirac issue bulk-update --jql '<JQL>' [--assignee EMAIL|me] [--priority LEVEL] [--force]. - Confirm how many issues were updated.
Priority levels: Highest, High, Medium, Low, Lowest
Examples:
- "assign all unassigned issues in PROJ to me" →
jirac issue bulk-update --jql 'project = PROJ AND assignee = EMPTY' --assignee me - "set all Low priority bugs in PROJ to High" →
jirac issue bulk-update --jql 'project = PROJ AND issuetype = Bug AND priority = Low' --priority High --force - "bulk assign sprint issues to alice@org.com" →
jirac issue bulk-update --jql 'sprint = openSprints()' --assignee alice@org.com