{"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

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

294 views 1 4
Join discussion

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