Now the problem is that i'm unable to add to bugzilla any information regarding changes on gerrit.
Status:
I've successfully build and installed the its-buzilla plugin (commit a909bfc836b1a97a7afcd45d085bda6ef4ec6371) on gerrit v2.9.4.
Configuration:
etc/gerrit.config:
[plugin "its-bugzilla"]
enabled = true
[its-bugzilla]
url = <url>
username = <username>
[commentLink "its-bugzilla"]
match = [bB][uU][gG]\\s*(\\d+)
link = <url>/show_bug.cgi?id=$1
association = SUGGESTED
etc/secure.config:
[its-bugzilla]
password = <password>
etc/its/action.config:
[rule "rule1"]
status = !,DRAFT
action = add-comment This a sample comment
action = log-event error
[rule "rule2"]
event-type = comment-added
action = add-comment This a sample comment
action = log-event error
When gerrit start in the error.log file it says that the plugin is able to connect to the bugzilla service.
The problem is that when:
- add a new patch set
- update a patch set
- add a comment to a patch set
- abandon a patch set
- restore a patch set
I don't see any information added to bugzilla or any error in gerrit's log, so what i'm missing?
Thanks in advance for any help
Fabio Porcedda