-
Notifications
You must be signed in to change notification settings - Fork 26
Description
The Firefox Android team would like to set up JBI sync from Bugzilla to our FXDROID Jira project. The Android team will typically work in the Fenix, Focus, and GeckoView Bugzilla products, but it would be nice if we could also sync Bugzilla bugs in other products (such as Core).
Something like this untested code:
whiteboard_tag: fxdroid
contact: [email protected]
description: Firefox Android Team Tag
enabled: true
parameters:
jira_project_key: FXDROID
steps:
new:
- create_issue
- maybe_delete_duplicate
- add_link_to_bugzilla
- add_link_to_jira
- maybe_assign_jira_user
- maybe_update_issue_resolution
- maybe_update_issue_status
existing:
- update_issue
- maybe_assign_jira_user
- maybe_update_issue_resolution
- maybe_update_issue_status
status_map:
UNCONFIRMED: Backlog
NEW: Backlog
ASSIGNED: In Progress
RESOLVED: Closed
REOPENED: In Progress
VERIFIED: Closed
resolution_map:
FIXED: Fixed
INVALID: Won't Do
WONTFIX: Won't Do
INACTIVE: Won't Do
DUPLICATE: Duplicate
WORKSFORME: Cannot Reproduce
INCOMPLETE: Won't Do
MOVED: Duplicate
-
I think I may be trying to use Jira status and resolution incorrectly. IIUC, the FXDROID Jira project has separate
DoneandCancelledstatus values, but maybeCancelledis redundant and we should use theDonestatus with a resolution like "Won't Do" and "Duplicate"? -
What are the default
stepsfornew,existing, andcomment? Do nothing? -
Is it possible to set the Jira issue type based on the Bugzilla bug type (
defect,enhancement,task)?
If it’s not possible, that’s OK; it's not a big deal. If it is possible, I’d like to map Bugzilla bug types to Jira issue types like this:
defect: Bug
enhancement: Task
task: Task
