bitbucket: backports from more current GitLab
original commit info
commit 4bfd54f3d2e303d751d49834879867f3c62156e9 Author: Bart Libert bart.libert@gmail.com Date: Thu Apr 5 13:44:18 2018 +0200
Import bitbucket issues that are reported by an anonymous user
For these kind of issues, the "reporter" field is present but zero.
In such a case, "fetch" will not return the default value, but it will
return nil.
Hence, importing fails, because the "username" field of nil is referenced
Fixes issue #44381
--HG-- branch : heptapod