Closed
Bug 1035771
Opened 11 years ago
Closed 7 years ago
bzexport should still set the bug status to ASSIGNED even when assigned_to doesn't need changing
Categories
(Developer Services :: Mercurial: bzexport, defect)
Developer Services
Mercurial: bzexport
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: emorley, Unassigned)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/961] )
If attaching a patch to an existing bug, and the current assignee isn't set to the patch author, bzexport sets the assignee and also changes the bug state to ASSIGNED.
However, if the bug assignee had already been updated [1] then bzexport doesn't change the status to assigned.
https://hg.mozilla.org/hgcustom/version-control-tools/file/5fcc1a36efc8/hgext/bzexport/__init__.py#l1056
if result['assigned_to']['name'] != taker:
result['assigned_to'] = {'name': taker}
if result['status'] != 'RESOLVED':
result['status'] = 'ASSIGNED'
req = bz.update_bug(api_server, auth, result)
try:
result = json.load(urlopen(ui, req))
assert result.get('ok', None)
except Exception, e:
raise util.Abort(_("Error when updating bug %s: %s") % (bug, result))
[1] eg a workflow where people manually assign a bunch of bugs to themself, and only change the status to ASSIGNED when they are actively working on it
| Assignee | ||
Updated•11 years ago
|
Product: Other Applications → Developer Services
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/90]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/90] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/953] [kanban:engops:https://kanbanize.com/ctrl_board/6/90]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/953] [kanban:engops:https://kanbanize.com/ctrl_board/6/90] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/959] [kanban:engops:https://kanbanize.com/ctrl_board/6/90]
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/959] [kanban:engops:https://kanbanize.com/ctrl_board/6/90] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/961] [kanban:engops:https://kanbanize.com/ctrl_board/6/90]
| Assignee | ||
Updated•11 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/961] [kanban:engops:https://kanbanize.com/ctrl_board/6/90] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/961]
| Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•