Add custom field value

Hi @Joakim_Paulsen,

I’m not familiar with that particular syntax/language, but take a look at the example shown on the right-hand side of the docs, under “Body parameter”, here:

It shows you how to format custom field values on a task. The only other thing to mention is that the two custom fields they show are both text custom fields, because the values shown are English text strings. If you are updating an enum custom field, the second value would be the gid of that enum value; so for example, if the second of those fields was an enum field, it might look like this:

"custom_fields": {
      "4578152156": "Not Started",
      "5678904321": "9003287851"
}

And for a multi_enum, it would be an array of enum values, like this:

"custom_fields": {
      "4578152156": "Not Started",
      "5678904321": ["459021796", "1004598149"]
}
1 Like