Get only issue type ticket

Add filter on issue type
This commit is contained in:
Etienne G 2016-04-19 09:11:42 +02:00
parent a5bec63a9c
commit 9c5dcab285
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ sub check_options {
$self->{output}->option_exit();
}
$self->{option_results}->{url_path} = "/search/issues?q=state:open+repo:" . $self->{option_results}->{owner} . "/" . $self->{option_results}->{repository};
$self->{option_results}->{url_path} = "/search/issues?q=state:open+is:issue+repo:" . $self->{option_results}->{owner} . "/" . $self->{option_results}->{repository};
if (defined($self->{option_results}->{label}) && $self->{option_results}->{label} ne '') {
$self->{option_results}->{url_path} .= "+label:" . $self->{option_results}->{label};
}