Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Stepan Ivanov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Contributor
April 21, 2016

Hi Stepan,

 

have you set your priority field as required?

 

Diamantino Campos

Stepan Ivanov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Contributor
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
TAGS
AUG Leaders

Atlassian Community Events