Hi, I want to get the values of each field of Ticket object. How can I
do that ?
I tried to loop like below but field.get('value') seems not working:

        for field in ticket.fields:
            f.write(field['name'] + ': ' + field.get('value') + '\n')

Please advise. Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to