REST endpoint to get a list of custom fields available for population in tickets submitted to certain queue

Hi guys.

I have a scenario when user fills in a form which is then submitted to predefined queue in RT. User should be able to select and fill in a custom field from a dropdown list of custom fields which are setup for tickets that are submitted to this predefined queue.

But I found out that there is no REST endpoint in RT which returns a list of custom fields by queue, so that you could send these custom fields in a ticket to this queue.

Is there any way to achieve this?



Check out the patch set on this branch:

I can’t comment on if it works or not, as I haven’t tested it, and I note that Gérald hasn’t merged it into his master branch…