diff --git a/debian/changelog b/debian/changelog
index dc48276..2b5af8d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+bam (0.5.1-3) UNRELEASED; urgency=medium
+
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 09 Apr 2020 04:18:17 +0000
+
 bam (0.5.1-2) unstable; urgency=medium
 
   * Switch build to python3. (Closes: #936184)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..083c6ba
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/matricks/bam/issues
+Bug-Submit: https://github.com/matricks/bam/issues/new
+Repository: https://github.com/matricks/bam.git
+Repository-Browse: https://github.com/matricks/bam