This is a small plugin that should allow you to view all of your bugs in bugzilla from within intelliJ and be able to do the whole switch/edit/commit thing from within intellj.
kharyam/bugzilla-intellij-task-provider
Integrates intellij with bugzilla: bugzilla becomes a source of tasks inside intellij. You will need the Ultimate edition of IntelliJ in order to be able to use this plugin.
Java