Change an issue's type (e.g. Bug → Story) using jirac. This uses Jira's native move semantics — the issue key is preserved.
Steps:
- Check that
jiracis available by runningjirac --version. If missing, tell the user to install it (cargo install jira-commands). - Extract from the user's request:
- issue key
- target issue type name (e.g. Bug, Story, Task, Sub-task)
- Confirm intent — type changes can affect required fields and screens.
- Run
jirac issue change-type <KEY> <TYPE>. - Report the updated issue and its new type. Use
jirac issue view <KEY>if confirmation is needed.
Notes:
- Issue key is preserved (PROJ-123 stays PROJ-123).
- Some custom-field values may be dropped if the new type's screen excludes them — verify with
jirac issue fields -p PROJ --issue-type <TYPE>beforehand. - Use
jirac issue moveinstead when moving across projects; usechange-typewhen staying in the same project.
Examples:
- "change PROJ-123 to a Bug" →
jirac issue change-type PROJ-123 Bug - "convert PROJ-50 from Sub-task to Story" →
jirac issue change-type PROJ-50 Story