How to make a report bug button in add-on?
The Report a Bug button will be added automatically if you add the tracker_url key to the bl_info dict of your add-on. See the following example:
bl_info = {
    &quot;name&quot;: &quot;3D Simple X&quot;,
    &quot;author&quot;: &quot;8N Films&quot;,
    &quot;version&quot;: (1, 0),
    &quot;blender&quot;: (2, 92, 0),
    &quot;location&quot;: &quot;View3D &gt; Toolbar &gt; 3D Simple X&quot;,
    &quot;description&quot;: &quot;Very Simple and easy! Add everything you want!&quot;,
    &quot;wiki_url&quot;: &quot;&quot;,
    &quot;tracker_url&quot;: &quot;https://github.com/user/add-on/issues&quot;,
    &quot;category&quot;: &quot;8N Films&quot;,
}

More about 'Script Meta Informations' and a complete list of available keys, you can find in the official wiki: https://wiki.blender.org/wiki/Process/Addons/Guidelines/metainfo