Learn more about these different git repos.
Other Git URLs
It would be great if someone could write a bugzilla url plugin and submit it to bugzilla upstream.
These are plugins (written in perl) that allow bugzilla to query external trackers for some status on external bugs that are added to a bugzilla bug.
https://github.com/bugzilla/bugzilla/tree/master/Bugzilla/BugUrl
https://partner-bugzilla.redhat.com/show_bug.cgi?id=1475788 has an example pagure bug added as an external link. If bugzilla had one of these plugins for pagure we could see priority/status/summary.
Apparently there is also a webservice that could be implemented: https://bugzilla.redhat.com/docs/en/html/api/extensions/ExternalBugs/lib/WebService.html
The main problem here is that Bugzilla treats BugURLs as being defined by a URL and a bug ID. In pagure, there is one bug-tracker per project so you would need an url plugin for every pagure project.
Is there an example of a Bugzilla External Tracker plugin that properly updates BZ according to the external data?
Most of the ones I've seen only link, and don't auto-fill in the "Priority", "Status", "Summary".
Does Pagure have a REST API for querying issue data? I wasn't able to find mention of a Pagure API at https://docs.pagure.org/pagure/
Regarding Pagure's REST API for issues, yes, now I see it's /api/0/<repo>/issue/<issue id>. Cool! (filed https://pagure.io/pagure/issue/2654 to make this slightly more discoverable)
/api/0/<repo>/issue/<issue id>
I don't think so. There are a number of bugs open in bugzilla.mozilla.org to use external data (see bug #123130 and the bugs it depends on) but no one's actually working on it.
The values for the Priority and Status fields are dependent on the instance of Bugzilla. It's possible for two instances to have no values in common. And I don't see a usecase for syncing the summary of a bug.
Regarding use cases, speaking for the Ceph team's use of BZ External Trackers, it would often save users a click if they could read the External Tracker summaries directly from the Bugzilla UI.
It looks like the Pulp team has something that syncs ext_description, ext_status, and ext_priority here: https://github.com/pulp/pulp_packaging/blob/master/ci/redmine_bugzilla.py
ext_description
ext_status
ext_priority
Maybe we can copy the idea there into a Pagure hook that queries and updates the Bugzilla external tracker records in a similar way?
no update, progress or contributions in 5 years, also unclear how relevant the requested feature still is, closing it for now.
Metadata Update from @wombelix: - Issue close_status updated to: Won't Fix - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.