• 
      

    Add Repository.get_default_bug_tracker().

    Review Request #15260 — Created Aug. 31, 2026 and updated — Latest diff uploaded

    Information

    Review Board
    release-9.x

    Reviewers

    This new method returns the bug tracker configuration acting as a
    repository's default. When a default_bug_tracker is explicitly
    assigned, it will use that. Otherwise, if there's a single enabled bug
    tracker which applies to the repository, it will fall back to that.

    The result is cached on the instance, since it requires two queries.

    • Ran unit tests.
    • Used in conjunction with other changes.

    Commits

    Files