I've got to be missing something simple here and I'm just not seeing it.
I'm attempting to use REST 5.0.2 to update a number of different issues - essentially, to put them into the same FixVersion / iteration from a flat file. Okay, so I'm looping around, calling the REST for each one, and I can update almost every field...except the FixVersion. I'm getting a "data is not an array" error, which leads me to believe that I need to pass it an array of FixVersions and set one as the correct FixVersion? That doesn't make any sense to me.
I've tried a number of different JSON configurations, all of which bombed (with some variant of the above.)
Can somebody point me in the right direction?
Thanks!
You need to send a single value as an array, so
{ "update":
{
"fixVersions":
[
{"set": [ {"id":"10000"} ] }
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.