How to validate a custom field in Bugzilla via REST Call to Redmine?
I have been using a custom field "Redmine#" in Bugzilla to track the bugs caused by a particular development activity. Made this custom field mandatory and then users started entering some junk values to this field.
How do I validate the Redmine Number entered before submitting the bug report?
I am using Bugzilla version 5.0.3. Read that it supports hooks.
Can the hook call a REST URL (of the Redmine) for validating the Redmine number before creating the bug? Is the hook named "bug_end_of_create_validators" the one to be used for this purpose?
Can anyone please point me to some links with sample code for calling REST API from the bugzilla hooks, if such a feature exists?