This commit refines the JIRA request handling by restructuring the `jira_resolve_categorie_interne` function to better manage the internal category based on the provided input. It introduces a new function, `jira_set_categorie_interne`, to update the category for JIRA issues, enhancing the integration's functionality. Additionally, it improves error logging for user creation and ticket submission processes, providing clearer feedback on failures. These changes aim to enhance the robustness and user experience of the JIRA integration.
This commit modifies the JIRA ticket creation function to structure the 'categorie_interne' field as an associative array, improving data formatting. Additionally, it enhances error handling in the AJAX script by adding localized error messages for better user feedback during ticket submission failures. These changes aim to improve the robustness and user experience of the JIRA integration.