Problems to get the customFields of a new task

Hello,

 

I’m trying to get the custom fields of a new task created by a copy of a folder. The problem is that when I ask for the custom fiends of this task in the new folder the query returns the custom fields empty, but there are custom fields inside. Some curious data is that if I go to the task in the web page and I insert a value in some of this custom fields if I ask again for the custom fields the query return the custom fields that I put a value correct. This last option can help to me because I’m using a Java program to create all of this values so I need the custom field's id just in the moment tan I’m running the program, otherwise the program fails because the custom fields are empty. Can anybody help me whit this?

 

Thank you very much.

Oscar.

0
3 comments
Spot On Innovative Approach Stellar Advice

Hi Oscar! Thank you for sharing your issue.

Do you mean that in Wrike Workspace there are values for CFs of the duplicated tasks, however API does not return them? Normally the behaviour you describe happens when you create CFs, leave them empty (no value entered for tasks) and do not apply them to the folder as 'customColumns' (this is one of the parameters for the Folder model). In this case fields would not be displayed via API until you add the 1st field value. 

Pavel M Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Pavel M Wrike Team member Become a Wrike expert with Wrike Discover

0
Spot On Innovative Approach Stellar Advice

I am trying to create a new task -- but when I hit the plus to create - it almost just searches and does nothing?

0
Spot On Innovative Approach Stellar Advice

Hello betty Davis, thanks for reaching out! The ability to create tasks depends on the User License. Could you please reach out to your account admins or the IT helpdesk, so that they could see if they could grant you an External or Regular user license?

Hope that helps.

Darina Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Darina Wrike Team member Become a Wrike expert with Wrike Discover

0

Folllowing List for Post: Problems to get the customFields of a new task
[this list is visible for admins and agents only]

Top
Didn’t find what you were looking for? Write new post