Open RoberMB opened 4 years ago
The problem continues but I have been able to disable the Urgency field so that it is no longer a required field. Once opened, it is filled automatically by calculating the value between the Impact and Severity values.
I know I answer this problem after a very long time but I think it could help someone. I had this problem before and the problem come from the urgency is not in the Incident table but in the Task table which Incident table inherit. So, I modified the file /usr/share/centreon/www/modules/centreon-open-tickets/providers/ServiceNow/ServiceNowProvider.class.php on line 704 before : $uri = '/api/now/table/sys_choice?sysparm_fields=value,label,inactive' . '&sysparm_query=nameSTARTSWITHincident%5EelementSTARTSWITHurgency'; after : $uri = '/api/now/table/sys_choice?sysparm_fields=value,label,inactive' . '&sysparm_query=nameSTARTSWITHtask%5EelementSTARTSWITHurgency';
And after that it works :
Best regards Gwendal
Hello,
I'm using Centreon 20.04.0 and when I try to create a ticket in ServiceNow with "Open Tickets" module, one of the mandatory fields is always empty so I can't create the ticket.
The field which has the problem is "Urgency". I attach the screenshot to show you my problem.
Thanks, Have a nice day.