Hi there,
I know I need to use advanced edition and using JSON, but I'm failing to fully understand the syntax.
If I have two checkboxes within the same section "CustomFieldA", and if those options are "ABC" and "DEF" in their labels, how do i do it?
Is it like this? But what do I put in the value?
"CustomFieldA" : [{ "value" : "option1"}, {"value" : "option2"}]
Hi @Tiago Machado -- Welcome to the Atlassian Community!
Yes, that is one of the syntaxes to set a checkbox field, by either entering the drop-down text as the option values or the id values, as shown here: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Checkbox-custom-field
So if you wanted to select both ABC and DEF please try this:
{
"fields": {
"customFieldA": [{ "value" : "ABC"}, {"value" : "DEF"}]
}
}
Remember to find and use your custom field name or id.
Kind regards,
Bill
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.