mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed problems with created Tickets with pandora. Tiquet: #3690
(cherry picked from commit 55e1bc6583c9c775560dadfa3783e4d9458f77bf)
This commit is contained in:
parent
ba467fb6a3
commit
a1def873fc
@ -5034,7 +5034,7 @@ sub pandora_edit_custom_graph ($$$$$$$$$$$) {
|
||||
}
|
||||
|
||||
sub pandora_create_integria_ticket ($$$$$$$$$$$) {
|
||||
my ($pa_config,$api_path,$api_pass,$integria_user,$user_pass,$ticket_name,$group_id,$ticket_priority,$ticket_email,$ticket_owner,$ticket_description,) = @_;
|
||||
my ($pa_config,$api_path,$api_pass,$integria_user,$user_pass,$ticket_name,$group_id,$ticket_priority,$ticket_email,$ticket_owner,$ticket_description) = @_;
|
||||
|
||||
my $data_ticket;
|
||||
my $call_api;
|
||||
@ -5061,18 +5061,30 @@ sub pandora_create_integria_ticket ($$$$$$$$$$$) {
|
||||
$ticket_owner = "admin";
|
||||
}
|
||||
|
||||
#~ $data_ticket = $ticket_name .
|
||||
#~ "|;|" . $group_id .
|
||||
#~ "|;|" . $ticket_priority .
|
||||
#~ "|;|" . $ticket_description .
|
||||
#~ "|;|" . #Id inventory
|
||||
#~ "|;|" . #Id incident type
|
||||
#~ "|;|" . $ticket_email .
|
||||
#~ "|;|" . $ticket_owner .
|
||||
#~ "|;|" . #Father ticket id
|
||||
#~ "|;|" . #Status
|
||||
#~ "|;|" . #Extra info
|
||||
#~ "|;|"; #Resolution
|
||||
$data_ticket = $ticket_name .
|
||||
"|;|" . $group_id .
|
||||
"|;|" . $ticket_priority .
|
||||
"|;|" . $ticket_description .
|
||||
"|;|" . #Id inventory
|
||||
"|;|" . #Id incident type
|
||||
"|;|" .
|
||||
"|;|" .
|
||||
"|;|" . $ticket_email .
|
||||
"|;|" . $ticket_owner .
|
||||
"|;|" . #Father ticket id
|
||||
"|;|" . #Status
|
||||
"|;|" . #Extra info
|
||||
"|;|"; #Resolution
|
||||
"|;|" .
|
||||
"|;|" . '1' .
|
||||
"|;|" .
|
||||
"|;|";
|
||||
|
||||
$call_api = $api_path . '?' .
|
||||
'user=' . $integria_user . '&' .
|
||||
|
Loading…
x
Reference in New Issue
Block a user