I'm trying to set a bug ticket field that can be "Yes" or "No" in the UI.
The field name is "customfield_11550" ("Regression")
I tried a bunch of different things:
ticket["customfield_11550"] = [{"name": "Yes"}]
ticket["customfield_11550"] = {"name": "Yes"}
ticket["customfield_11550"] = {"name": "yes"}
ticket["customfield_11550"] = {"name": True}
I get back:
"Specify a valid 'id' or 'name' for Regression"
Through lots of trial and error, found the answer:
ticket["customfield_11550"] = {"value": "Yes"}
The error message is IMHO quite misleading - it talks about "name", but you need to use "value". Arg!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.