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.