Closed Bug 1003227 Opened 10 years ago Closed 6 years ago

qimportbz should use the new Bugzilla API

Categories

(Developer Services :: Mercurial: qimportbz, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: emorley, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1457] )

Switching to the native REST API gets us non-truncated email addresses for patches that do not have the author info set, and qimportbz guesses from the Bugzilla display name and email address. (Currently BzAPI only returns 'user' from 'user@domain.com', presumably for anti-spam reasons)

If we were feeling like scope creeping, it would be ideal to try and unify qimportbz and bzexport's Bugzilla API foo - since qimportbz would benefit from authentication too for full bug access (ie importing patches from non-public bugs).
Assignee: nobody → emorley
eg:
https://bugzilla.mozilla.org/rest/bug/1002780/attachment

If the email is then used like so:
https://bugzilla.mozilla.org/rest/user/email@address.com

We can get their display name.

Not sure if it's an oversight that the attachment data does not include the display name, seeing as the /rest/bug/123456 returns display name for reporter/CC list etc.
Depends on: 1003304
Blocked on bug 1003304; unassigning for now.
Assignee: emorley → nobody
Product: Other Applications → Developer Services
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/104]
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/104] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1441] [kanban:engops:https://kanbanize.com/ctrl_board/6/104]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1441] [kanban:engops:https://kanbanize.com/ctrl_board/6/104] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1444] [kanban:engops:https://kanbanize.com/ctrl_board/6/104]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1444] [kanban:engops:https://kanbanize.com/ctrl_board/6/104] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1448] [kanban:engops:https://kanbanize.com/ctrl_board/6/104]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1448] [kanban:engops:https://kanbanize.com/ctrl_board/6/104] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1452] [kanban:engops:https://kanbanize.com/ctrl_board/6/104]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1452] [kanban:engops:https://kanbanize.com/ctrl_board/6/104] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1457] [kanban:engops:https://kanbanize.com/ctrl_board/6/104]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1457] [kanban:engops:https://kanbanize.com/ctrl_board/6/104] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1457]
Mass-closing old bugs I filed that have not had recent activity/no longer affect me.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.