OSidorenkov / zabbix-jira

Python module that allows you to create tasks in Jira by the trigger from Zabbix
MIT License
40 stars 21 forks source link

jirabix action not work Zabbix 4.2 #13

Open piterjakubowski opened 5 years ago

piterjakubowski commented 5 years ago

Hello, does this script work with zabbix 4.2 ?

I copied the script and created media types and actions (Administration -> Create Action (Event source Internal )) according to readme. I will add that when it performs the test the ticket is created.

Regards, Piotr

DenissStepanov commented 4 years ago

Hi,

please specify what exactly wrong. what kind of error or screenshot

piterjakubowski commented 4 years ago

I fixed my problem

DenissStepanov commented 4 years ago

Maybe you can help me in that case. On 4.4.1when triggers go to done/acknowlegde state they generate a new ticket for that, on problem discription I got Traceback (most recent call last): File "/var/lib/zabbixsrv/alertscripts/jirabix.py", line 230, in <module> main() File "/var/lib/zabbixsrv/alertscripts/jirabix.py", line 210, in main settings["zbx_image_height"], tmp_dir) File "/var/lib/zabbixsrv/alertscripts/jirabix.py", line 88, in graph_get title = requests.utils.quote(title) File "/usr/lib64/python2.7/urllib.py", line 1270, in quote raise TypeError('None object cannot be quoted') TypeError: None object cannot be quoted

And no info on problem ticket comes only generate that. Do you have the same problem?