The Bug Genie
The Bug Genie
star_faded.png
Please log in to subscribe to updates for this article
The Bug Genie:Development:Json API:Examples:New Issue
Last updated at Thu Nov 29 13:33, by zegenie
This is an example of the JSON representation of a new issue.

{
    "issue": {
        "id": "2474",
        "issue_no": "1735",
        "state": 0,
        "created_at": 1354195700,
        "updated_at": 1354195700,
        "title": "test issue",
        "posted_by": {
            "id": 1,
            "name": "zegenie",
            "username": "zegenie"
        },
        "assignee": null,
        "status": {
            "id": 20,
            "itemdata": "#FFF",
            "itemtype": "status",
            "name": "New",
            "key": ""
        },
        "description": "Test description",
        "reproduction_steps": "Test reproduction steps",
        "edition": null,
        "build": null,
        "component": null,
        "category": null,
        "reproducability": null,
        "resolution": null,
        "severity": null,
        "milestone": null,
        "estimated_time": {
            "months": 0,
            "weeks": 0,
            "days": 0,
            "hours": 0,
            "points": 0
        },
        "spent_time": {
            "months": 0,
            "weeks": 0,
            "days": 0,
            "hours": 0,
            "points": 0
        },
        "priority": null,
        "votes": 0,
        "comments": [ ],
        "visible_fields": {
            "description": {
                "required": true,
                "additional": false
            },
            "reproduction_steps": {
                "required": true,
                "additional": false
            },
            "edition": {
                "required": false,
                "additional": false
            },
            "build": {
                "required": false,
                "additional": false
            },
            "component": {
                "required": false,
                "additional": false
            },
            "category": {
                "required": false,
                "additional": false
            },
            "reproducability": {
                "required": false,
                "additional": false
            },
            "resolution": {
                "required": false,
                "additional": true
            },
            "severity": {
                "required": false,
                "additional": true
            },
            "milestone": {
                "required": false,
                "additional": true
            },
            "estimated_time": {
                "required": false,
                "additional": true
            },
            "spent_time": {
                "required": false,
                "additional": false
            },
            "priority": {
                "required": false,
                "additional": true
            },
            "votes": {
                "required": false,
                "additional": false
            }
        }
    }
}

Article attachments

There are no file attached to this article

Article comments (0)

There are no comments