Fill fields via Python API

Hey,

I already created three custom_fields in Asana via Python API.
Now I would like to fill it with a term like: value(field3) = value(field1) - value(field2) via Python API.

Does anyone know if this works? Any helpful ideas?

Regards, Anna

Hi,

You need to run a task update and give values for those fields. The API doc as well as the Python lib example will be able to help. Otherwise come back here :slight_smile:

Thanks, Bastien!

Do you know how to get the value from a field?
So I can fill another field with something like this: value_field1 = get_value_field2 * get_value_field3…

You need to use the right opt_fields when reading a task to have access to custom fields.