如何使用 Fogbugz API 查询自定义字段?

How can I query custom fields with the Fogbugz API?

我正在使用 Python fogbugz 模块访问 XML API:

from fogbugz import FogBugz
fb = FogBugz(url=S_FOGBUGZ_URL, token=TOKEN)
respBug = fb.search(
    q=str(ixBug),
    cols="sTitle,sPersonAssignedTo,sProject,sArea,sCategory,sPriority,sStatus,events",
)

如何将自定义字段添加到列列表中?

使用 customFields 作为列名。不过,响应中的 XML 非常混乱,标签名称很奇怪。

我通过查看Firefox web客户端与服务器的对应关系找到了答案。