Hi Paso,
Good question. You can get the custom fields you defined from the TFSWarehouse database. In this database, find the table called Current Work Item from there you can query the same to get the Custom fields.
If not check with Work Item table also.
Regards,
Kathir |