How to retrieve the relationship between tracker, project, and custom fields?

Added by Alston Huang almost 4 years ago

Hi,

I am writing a testrail defect plugin and try to implement the feature that shows custom fields according to the selection of trackers.
I can get the relationship between project and tracker via projects/id.xml?include=trackers but I have no idea about how to get the relationship between custom fields and project/tracker.

Also, I found a strange situation:
It would requests authentication when I try to access the custom_fields.xml.
But I can not pass the authentication anyways. Even if I try the root password.

Can anyone help me?
Thanks for your great help.

Alston