0

Get custom created task fields

Say I've created a custom field for the tasks in a project named my_custom_field. How can I get that field data from a query?

This returns the task but not my custom field:

filters = [['id', 'is',123]]
fields = ['content', 'entity', 'my_custom_field']
 
result = sg.find_one('Task', filters, fields)

2 comments

  • 0
    Avatar
    Kevin Lemaire

    Can you print 'result' to debug it? It works on my side. 

    Thanks

  • 0
    Avatar
    Henry Raco


    Thanks for the knowledge.

     

    best assignment help

Please sign in to leave a comment.