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
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
3 commentaires
Avatar
Pavel M

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. 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

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 ✅ Solved 🪄 Remove Kudos

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 En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

Darina Wrike Team member En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

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

Haut de la page
Didn’t find what you were looking for? Write new post