Switch to Bugzilla's REST API #184

Open
opened 2021-06-07 11:54:57 +00:00 by kparal · 4 comments
Owner

Currently we're using Bugzilla's XMLRPC API through python-bugzilla. This API is deprecated and will be removed. Instead, the REST API should be used. python-bugzilla allows to use it, but our current queries seems incompatible with it and will require some changes (or fixes in python-bugzilla). Oraculum already uses this approach (REST API through python-bugzilla).

Figure out what needs to be changed and make the switch.

This change might also resolve performance issues mentioned in #183, i.e. allow us to do "quick" bugzilla syncs again (if we find it meaningful).

Currently we're using Bugzilla's XMLRPC API through `python-bugzilla`. This API is deprecated and [will be removed](https://bugzilla.readthedocs.io/en/latest/integrating/apis.html#api-list). Instead, the REST API should be used. `python-bugzilla` allows to use it, but our current queries seems incompatible with it and will require some changes (or fixes in `python-bugzilla`). Oraculum [already uses](https://pagure.io/fedora-qa/blockerbugs/pull-request/183#comment-150728) this approach (REST API through `python-bugzilla`). Figure out what needs to be changed and make the switch. This change might also resolve performance issues mentioned in #183, i.e. allow us to do "quick" bugzilla syncs again (if we find it meaningful).
Author
Owner

Issue tagged with: next

Issue tagged with: next
Author
Owner

Commit b01fea84 relates to this ticket

Commit [b01fea84](https://pagure.io/fedora-qa/blockerbugs/c/b01fea84) relates to this ticket
Author
Owner

Bugzilla is said to be going away, this is probably not worth the time. However, keeping it here for the moment.

Bugzilla is said to be going away, this is probably not worth the time. However, keeping it here for the moment.
Author
Owner

Metadata Update from @kparal:

  • Custom field story_points adjusted to 5
  • Issue priority set to: Low (was: Normal)
**Metadata Update from @kparal**: - Custom field story_points adjusted to 5 - Issue priority set to: Low (was: Normal)
kparal added this to the Next BB tasks project 2026-01-16 15:28:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/blockerbugs#184
No description provided.