Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Integration with Zabbix

Syndeo Wireless
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 21, 2024

 

 

Good afternoon!

I am trying to integrate Zabbix with JIRA to automatically create tickets, but I am unable to do so.

My Zabbix version is 7.0, and I am using the default Zabbix webhook for official integration.

In JIRA, I created an API token to enable the integration.

The sending is working, but I receive an authentication error.

Below are the logs:

Media Type Test Log

00:00:00.000 [Debug] [Jira Service Desk Webhook] Sending request: https://00000000000-team.atlassian.net/rest/servicedeskapi/servicedesk/0000000/requesttype/0000000/field

( URL MODIFIED )

 


00:00:00.696 [Debug] [Jira Service Desk Webhook] Received response with status code 401 - Client must be authenticated to access this resource.
00:00:00.696 [Debug] [Jira Service Desk Webhook] Failed to parse response received from Jira
00:00:00.696 [Debug] [Jira Service Desk Webhook] ERROR: Request failed with status code 401. Check debug log for more information.





1 answer

0 votes
Charlie Misonne
Community Champion
November 21, 2024

Hi!

How are you performing the authentication?

For Jira Cloud's REST API authenticaiton you need a token indeed. But you also need to provide the username.
It uses basic authentication:

Example header: "Authorization: Basic ZnJlZDpmcmVk"

From https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/

Supply an Authorization header with content Basic followed by the encoded string. For example, the string fred:fred encodes to ZnJlZDpmcmVk in base64,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events