BugzIO / SprintRPC

@k88hudson's bugzilla app `sprinter` made to work with Bugzilla's JSONRPC instead of REST
0 stars 2 forks source link

Sample bug as response to JSONRPC call #6

Open debloper opened 9 years ago

debloper commented 9 years ago

A test call can be made to: /jsonrpc.cgi?method=Bug.search&params=[{"limit":"1","whiteboard":"USS"}]

And the example response looks like:

{
    "error": null,
    "id": "https://bugzilla.redhat.com/",
    "result": {
        "bugs": [
            {
                "priority": "",
                "cf_category": "",
                "blocks": [],
                "creator": "",
                "last_change_time": "",
                "is_cc_accessible": true,
                "keywords": [],
                "cc": [],
                "url": "",
                "assigned_to": "",
                "groups": [],
                "see_also": [],
                "id": 0,
                "creation_time": "",
                "whiteboard": "",
                "qa_contact": "",
                "depends_on": [],
                "cf_regression_status": "",
                "dupe_of": null,
                "docs_contact": "",
                "cf_story_points": "",
                "resolution": "",
                "classification": "",
                "alias": [],
                "cf_doc_type": "",
                "op_sys": "",
                "cf_crm": "",
                "target_release": [],
                "status": "",
                "cf_type": "",
                "cf_documentation_action": "",
                "cf_clone_of": null,
                "summary": "",
                "cf_mount_type": "",
                "is_open": true,
                "platform": "",
                "severity": "",
                "cf_environment": "",
                "version": [],
                "component": [],
                "sub_components": {},
                "cf_fixed_in": "",
                "is_creator_accessible": true,
                "product": "",
                "target_milestone": "",
                "is_confirmed": true,
                "cf_release_notes": "",
                "cf_verified_branch": ""
            }
        ]
    }
}