On Fri, May 4, 2012 at 7:29 AM, Antoine Musso <hashar+...@free.fr> wrote:

> One could most probably write a ton of reports using the JSON API:
>
>  https://bugzilla.wikimedia.org/jsonrpc.cgi
>
> Doc:
>
> https://bugzilla.wikimedia.org/docs/en/html/api/Bugzilla/WebService/Server/JSONRPC.html
>
>
>
Yep, however currently I'm hardcoding [1] the versions and milestones
because the API of BugZilla < 4.2 does not expose them (see NOTES[2]).

After bugzilla.wikimedia.org is upgraded to 4.2 I'll let it grab the
versions and milestones dynamically from the API instead, and maybe add
some custom lists as well. That way things won't break if a version or
milestone is renamed and new ones are automatically added.

-- Krinkle

[1]
https://github.com/Krinkle/ts-krinkle-wmfBugZillaPortal/blob/c5611c966112d1eb8ff63a5651c7729161cd265a/index.php#L40

[2]
https://github.com/Krinkle/ts-krinkle-wmfBugZillaPortal/blob/553de37ce541b3283126bbe860f45fa7ee6c2295/NOTES#L1
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to