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!
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.