Comments (6)
In my case probem was in permissions:
- zabbix-server run from user
zabbix
AlertScriptPath
is root:root
Of course,zbx_tmp_dir
from your config also must have correct right permissions (in my case zabbix:zabbix)
Everything works fine for me now
UPD: maybe you know it, but check workflows in your JIRA project - issue/task/etc must have flow from OPEN to DONE
from zabbix-jira.
Did you resolve this problem?
Hi,
Issue registration works fine (graph also attached). But when problem resolved transition to Done doesn't work.
Interesting that script doesn't write to file jirabix.db.
Maybe we need to install additional software on server?
from zabbix-jira.
I have same issue as OlegsBazalickis. And problem is that it can't write to SQLlite database. I tried to give all rights to jirabix.db but still without success.
Traceback (most recent call last):
File "/usr/lib/zabbix/alertscripts/jirabix.py", line 230, in
main()
File "/usr/lib/zabbix/alertscripts/jirabix.py", line 216, in main
c.execute("INSERT INTO events VALUES (?, ?);", (trigger_id, issue_key))
sqlite3.OperationalError: unable to open database file
from zabbix-jira.
That's right. The problem is access rights to the database file. Verify that the file has been created and that the zabbix user has access to it.
from zabbix-jira.
Hi, I am facing the same issue I am getting below error.
Traceback (most recent call last):
File "/usr/lib/zabbix/alertscripts/jirabix.py", line 229, in
main()
File "/usr/lib/zabbix/alertscripts/jirabix.py", line 222, in main
close_issue(issue_key, get_transition(issue_key))
File "/usr/lib/zabbix/alertscripts/jirabix.py", line 43, in close_issue
jira.transition_issue(issue, status)
File "/usr/local/lib/python2.7/dist-packages/jira/client.py", line 126, in wrapper
result = func(*arg_list, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/jira/client.py", line 1559, in transition_issue
raise JIRAError("Invalid transition name. %s" % transition)
jira.exceptions.JIRAError: JiraError HTTP Invalid transition name. None
the transition state of Jira issue is not changing to Done, Apart from this everything is working fine.
from zabbix-jira.
Most likely the problem is in the wrong jira_transition
in your config.py. You can check all available transitions in your project using test/check_transition_id.py
in debug mode. For example:
from zabbix-jira.
Related Issues (11)
- Run Test Error => python jirabix.py "zabbix" "test" "test" HOT 1
- Error 401 / WARNING:root:Got recoverable error from GET HOT 2
- TypeError HOT 1
- jirabix action not work Zabbix 4.2 HOT 3
- Proxy Error
- Problem with disaster triggers on zabbix 4.2 HOT 5
- ATTACHMENT WITH ERROR
- Issue not transitioned to Done HOT 1
- graph is not going to jira and transition state is not changeing to done HOT 3
- Questions about sslerror arise
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-jira.