I am facing a problem with the robot framework multipart option of the REST API, I tried to create a new test execution and import the result of the output.xml thanks to curl but REST do not accept my json file below :
{
"fields":{
"summary":"Test execution from Robot Framework",
"issuetype":{
"id":"10004"
},
"project":{
"id":"10301"
},
"fixVersions":[
{
"set":{
"id":"10300"
}
}
]
}
}
Rest give me this output :
fixVersions: Fixed version (s) is required.
Thanks for your time !
I'm not sure why you have put in the "set" part of the value. fixVersions expects an array of version objects, which doesn't need any control on top of the array indicators.
Try:
"fixVersions":[{"id":"10300"}, {"id":"10301"}]
(Obviously, remove the 10301 element, I've added it to show that it's an array)
Also, you can get this error if the version selected is not for the project you are in, so it may be worth checking that too.
Thanks a lot for your reply, I tried your solution before but wasn't working, I resolve the problem this morning, it was my robotframework xml.
Dont know why but Jira do not accept it and ask me the fixVersions.
I tried with the robot framework example xml and all is working !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.