[ZBX-23761] Zabbix Jira webhook can't create tickets in JIRA Created: 2023 Nov 30 Updated: 2024 Jun 27 Resolved: 2024 Jan 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Templates (T) |
Affects Version/s: | 6.0.22 |
Fix Version/s: | 6.0.26rc1, 6.4.11rc1, 7.0.0beta1, 7.0 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | Pavel Raska | Assignee: | Evgenii Gordymov |
Resolution: | Fixed | Votes: | 0 |
Labels: | API, JIRA, Webhook | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 107 (Dec 2023), S2401 | ||||||||
Story Points: | 1.5 |
Description |
Good morning, I set JIRA, as obviously, used standarded webook from GIT for ZABBIX(https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/jira?at=release/6.0 ) But , when I tried create ticket to JIRA, so I had issue Steps to reproduce:
I found relative issue in Jira It´s seems, that metedata doesnť exist. So i tried bing, because, I couldn´t find relatives links. I tried some changes and this is result: * 00:00:00.000 [Debug] createISSUE00:00:00.000 [Debug] {"customfield_13200":[{"value":"PROD"}],"customfield_20500":"","customfield_20501":"","customfield_20502":"","customfield_20504":"","customfield_20505":"","customfield_20506":"","customfield_20507":"","customfield_20508":"","customfield_20509":"","customfield_20510":""}00:00:00.000 [Debug] [ Jira Webhook ] Sending request: [https://jira.xxxx.com/rest/api/latest/issue/createmeta?expand=projects.issuetypes.fields&projectKeys=EOH&issuetypeNames=Incident%20ZBX] * 00:00:00.000 [Debug] [ Jira Webhook ] Sending request: [https://jira.unicorn.com/rest/api/latest/issue/createmeta?expand=projects.issuetypes.fields&projectKeys=EOH&issuetypeNames=Incident%20ZBX] * 00:00:00.156 [Debug] [ Jira Webhook ] Received response with status code 404 {"errorMessages":["Issue Does Not Exist"],"errors":{}} * 00:00:00.156 [Debug] [ Jira Webhook ] ERROR: Request failed with status code 404: ["Issue Does Not Exist"] Check debug log for more information.
|
Comments |
Comment by Richard Ostrochovský [ 2023 Nov 30 ] |
|
Comment by Pavel Raska [ 2024 Jan 04 ] |
Hello, is there some progress, please? Thanks for answer. |
Comment by Evgenii Gordymov [ 2024 Jan 04 ] |
Hello Pras, The bug has been fixed and is currently undergoing internal code review. We will try to update the main branch as soon as possible. Tested on Jira version 9.12.1.
|
Comment by Evgenii Gordymov [ 2024 Jan 04 ] |
Fixed in:
|