Add bug_tracker to available GET fields for a repository.
Review Request #7255 — Created April 27, 2015 and submitted
Add
bug_trackerto available GET fields for a repository.This can be useful for e.g. the hook review in request #7100, which (for now) has to configure the bug tracker URL in the Mercurial config (hgrc) in addition to the Review Board configuration.
Tested that the
bug_trackercan be read by the RBTools Python interface to the web API.
Tool: Pyflakes Processed Files: reviewboard/webapi/resources/repository.py Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/repository.py