{"message":"priority: Priority is required.\n"}

Stepan Ivanov April 21, 2016

sent Rest api request to Import Execution Results and have such problem "

{"message":"priority: Priority is required.\n"}

"

1 answer

0 votes
Diamantino Campos April 21, 2016

Hi Stepan,

 

have you set your priority field as required?

 

Diamantino Campos

Stepan Ivanov April 21, 2016

This is my json:

{
"info" :
{
"project": "QCMP",
"summary": "Ready",
"description": "Krytoi test"
},

"tests" : [
{
"testKey" : "QCMP-37",
"start" : "2016-04-21T14:00:00+01:00",
"finish" : "2016-04-23T16:47:35+03:00",
"comment" : "https://www.google.by/",
"status" : "PASS"
}
]
}

 

Diamantino Campos April 27, 2016

I've just tested your json with this call and everything is fine.

 

curl -H "Content-Type: application/json" -X POST -u admin:admin --data @aa.json http://localhost:2990/jira/rest/raven/1.0/import/execution

Suggest an answer

Log in or Sign up to answer