The handler appears to be a raw username, but I didn't find an example of how to add the reporter
Code: Select all
{
"summary": "Sample REST issue",
"description": "Description for sample REST issue.",
"additional_information": "More info about the issue",
"project": {
"id": 1,
"name": "mantisbt"
},
"category": {
"id": 5,
"name": "bugtracker"
},
"handler": {
"name": "vboctor"
},
"view_state": {
"id": 10,
"name": "public"
},
"priority": {
"name": "normal"
},
"severity": {
"name": "trivial"
},
"reproducibility": {
"name": "always"
},
"sticky": false,
"custom_fields": [
{
"field": {
"id": 4,
"name": "The City"
},
"value": "Seattle"
}
],
"tags": [
{
"name": "mantishub"
}
],
"files": [
{
"name": "test.txt",
"content": "VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4="
},
{
"name": "test2.txt",
"content": "VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4="
}
]
}