I would like to seek help on ticking checkboxes upon issue creation via rest API.
I have three checkboxes:
CheckBox1
CheckBox2
CheckBox3
Each checkbox have same name ,customfield_10000 , but different id.
CheckBox1 - id : customfield_10000-1 | value : 10700
CheckBox2 - id : customfield_10000-2 | value : 10701
CheckBox3 - id : customfield_10000-3 | value : 10702
Lets say I want to tick Checkbox 1 upon creation of issue via rest api.
My current code:
{ "customfield_10000 " : [
{
"value" : "10700",
"id" : " customfield_10000-1"
}
]
}
Result:
'error': {'customfield_10000 ': "Option value '10700' is not valid"}
I tried to put "Y" on value but I also got an Error:
'Error', 'error': {'customfield_10000 ': "Option value 'Y' is not valid"}
Thank you!
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.