Custom function Error Handling
Posted: 24 Nov 2022, 17:26
Hi,
I wrote a custom function like advised in the guide to validate if the target_version field has a value (custom_function_override_issue_update_validate). The function works fine.
When the value is missing the user is redirected to thebug_report_page which show him the specified error.
Is there a way to stay on the bug_change_status_page and get a bubble with an error like on the bug_report_page when you miss a required field?
Is there a "natural" way to do this ? Or do I need to write a plugin for this ?
Thank you in advance!
Greetings,
bluescreenterror
I wrote a custom function like advised in the guide to validate if the target_version field has a value (custom_function_override_issue_update_validate). The function works fine.
When the value is missing the user is redirected to thebug_report_page which show him the specified error.
Is there a way to stay on the bug_change_status_page and get a bubble with an error like on the bug_report_page when you miss a required field?
Is there a "natural" way to do this ? Or do I need to write a plugin for this ?
Thank you in advance!
Greetings,
bluescreenterror