Can anyone know how to post a bug in bugzilla using javascript

their is a js file which has some mehtods to post this is the url for that js file

https://wiki.mozilla.org/User:Harthur/BugzillaRPC

https://wiki.mozilla.org/index.php?t...mp;action=edit