Ad Widget

Collapse

Jira webhook error "Sending failed: Request failed with status code 411"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adi2
    Junior Member
    • Jun 2022
    • 2

    #1

    Jira webhook error "Sending failed: Request failed with status code 411"

    I am trying to setup Jira webhook on Zabbix 6.0, while testing the same I am getting "Sending failed: Request failed with status code 411 Check debug log for more information."
    Attaching the screenshot of the media type details.

    Click image for larger version  Name:	Jira webhook.png Views:	9 Size:	112.8 KB ID:	446981

    Media type test log


    00:00:00.582 [Debug] [ Jira Webhook ] Received response with status code 411 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Length Required</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Length Required</h2> <hr><p>HTTP Error 411. The request must be chunked or have a content length.</p> </BODY></HTML>
    00:00:00.582 [Debug] [ Jira Webhook ] Failed to parse response received from Jira
    00:00:00.583 [Warning] [ Jira Webhook ] ERROR: Request failed with status code 411 Check debug log for more information.
    Last edited by Adi2; 29-06-2022, 08:54.
  • mohammedsaeed.shaikh
    Junior Member
    • Jul 2023
    • 2

    #2
    I am using https://www.zabbix.com/integrations/jira plugin to raise Jira ticket from Zabbix. However once issue resolve in Zabbix ticket is not getting auto closed. How can I auto close ticket in Jira if it will be automatically closed in Zabbix.

    Comment

    • LeozinMac
      Junior Member
      • Dec 2023
      • 3

      #3
      Hello hmohammedsaeed are u good?, Have you managed to solve the issue of the task closing on its own within JIRA after a trigger from Zabbix?

      Comment

      • jnsvano
        Senior Member
        • Feb 2013
        • 143

        #4
        Originally posted by LeozinMac
        , Have you managed to solve the issue of the task closing on its own within JIRA after a trigger from Zabbix?
        I suspect it has nothing to do with Zabbix, you need to use Jira automation for this. I don't know though how (also looking for solution).

        Comment

        • LeozinMac
          Junior Member
          • Dec 2023
          • 3

          #5
          Originally posted by jnsvano
          I suspect it has nothing to do with Zabbix, you need to use Jira automation for this. I don't know though how (also looking for solution).
          I'm seeking an automation solution as well. If I discover something that truly works, I'll come back here, as I believe in ZABBIX, it might only involve creating another script using the API with a PUT method to edit a task.

          Comment

          • mohammedsaeed.shaikh
            Junior Member
            • Jul 2023
            • 2

            #6
            still ticket are not getting auto closed in Jira, if issue resolved in Zabbix.

            Comment

            • LeozinMac
              Junior Member
              • Dec 2023
              • 3

              #7
              Hello mohammedsaeed.shaikh, are u good? Did you find any solution for the task to automatically close within JIRA when the issue is resolved?

              Comment

              • jnsvano
                Senior Member
                • Feb 2013
                • 143

                #8
                I created following automation rule for Jira project where Zabbix sends tickets: When: Value changes for: Summary. Then: (either) "Permanently remove the issue" or "Transition the issue to:" "Done". This rule is based on fact that original ticket in Jira created from Zabbix with "Problem..." in Summary field and then changes to "Resolved...".

                Comment

                Working...