Edit Custom Field Text and enum

Hello,

I have been working with the asana API client, and I have been creating task with existing custom fields, the thing now is that I need to edit the text for a text custom field and the enum custom field, is that possible?

Thanks

It is!

To edit the text for a text custom field, see here in the documentation.

To edit an enum value for a particular custm field, see here in the documentation.

1 Like

Thank you Phil!
you have helped me so much!

1 Like

Sorry Phil for asking so much questions,

but it will update the custom field in all task with that custom field. If I want to update it specifically in one task, is that possible?

I think there may be some confusion as to what you want to change.

If you want to change the name of a text custom field (which of course will change it everywhere that custom field is used), use the link I posted above.

If you want to change the value that’s been entered for a text custom field on one particular task, that’s different, here’s how you do that.

Does this make sense?

1 Like

Hi Phil,

It wasn’t clear until now. Thank you so much!:blush:

@Phil_Seeman How does one clear a value from a custom field
Either Text or enum Value.

I tried ‘null’ for text as that worked for clearing an Assignee, but that just wrote ‘null’ lol

Hi @Eden,

Um, yeah, that’s not so good haha!

For a text value, I would just write an empty (zero-length) string.

For an enum value, I think you can set it to null, did you try that for an enum?

Yes, I tried that - it works perfectly with enum.

I Implemented the empty string, will see how it goes!

1 Like