Bugzilla Webservices login doesn't work

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bugzilla Webservices login doesn't work

jowandt
I want to access bugzilla bugs via the webservice /jsonrpc.cgi

I'm using SoapUI and Postman.

I tried several different calls, but there is always an error:

https://bugzillaurl/jsonrpc.cgi?method=Bug.get&params=[{"ids": 4609,"Bugzilla_login":"mymail@company","Bugzilla_password":"password"}]

https://bugzillaurl/jsonrpc.cgi?method=Bug.get&params=[{"ids":4609}]
The error is:

    "error": {
        "message": "You are not authorized to access bug #4609. To see this bug, you must first log in to an account with the appropriate permissions.",
        "code": 102
    },
    "id": "https://bug4rwh.bwi-intranet.de/",
    "result": null
}
If I try to use the User.login method I get an 403 - Forbidden error:

POST:  
https://bugzillaurl/jsonrpc.cgi?method=User.login&params=[ { "login": "mymail@company", "password": "password"} ]
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.