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

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

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

"

1 answer

Hi Stepan,

 

have you set your priority field as required?

 

Diamantino Campos

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"
}
]
}

 

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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

4,211 views 18 12
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you