function generateBugzillaUrl()

in index.js [139:157]


function generateBugzillaUrl(componentNames) {
  const prefix = 'https://bugzilla.mozilla.org/buglist.cgi?' +
    'bug_severity=--' + 
    '&f1=short_desc' +
    '&bug_type=defect' + 
    '&o1=notsubstring' +
    '&resolution=---' +
    '&classification=Client%20Software' +
    '&classification=Developer%20Infrastructure' + 
    '&classification=Components' +
    '&classification=Server%20Software' +
    '&classification=Other' +
    '&query_format=advanced' +
    '&chfield=%5BBug%20creation%5D' +
    '&chfieldfrom=-60d' +
    '&v1=%5Bmeta%5D' +
    '&product=Core';
  return prefix + '&' + componentNames.map(name => `component=${encodeURIComponent(name)}`).join('&')
}