Back to the main page

Creating Bugzilla bug via CLI

On the host where Bugzilla is installed run:
/usr/share/bugzilla/email_in.pl  -vvv < /tmp/newbug.txt

The file /tmp/newbug.txt for example reads :
From: zarko.dudic@etcfstab.com
Subject: Retire zfs-app:default/nfs-test-pool share
@product = Storage
@component = Changes
@version = unspecified
@op_sys = Solaris
@platform = Other
@priority = P3
@severity = normal

Retire zfs-app:default/nfs-test-pool share

--
Zarko
 

Note: I had to replace bugzilla-daemon with valid email address in the file /usr/share/bugzilla-5.0.1/data/params.json
#  diff params.json params.json-8-28-2017  
52c52
<    "mailfrom" : "sysengineer@etcfstab.com",
---
>    "mailfrom" : "bugzilla-daemon",

Back to the main page