fix ibm cloud open tickets regexp

This commit is contained in:
Colin Gagnaire 2018-12-18 14:25:22 +01:00
parent b93dec800b
commit cf4eea8d2c
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ sub manage_selection {
$groups_hash{$group->{id}->{content}} = $group->{name}->{content};
if (defined($self->{option_results}->{ticket_group}) && $self->{option_results}->{ticket_group} ne '' &&
$group->{name}->{content} =~ /$self->{option_results}->{ticket_group}/) {
$group->{name}->{content} =~ /^$self->{option_results}->{ticket_group}$/) {
$group_id = $group->{id}->{content};
}
}