Jira 10 Webhook API Endpoint Fails to Return Valid Data

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Low
    • None
    • Affects Version/s: 10.0.0, 10.1.1, 10.2.0
    • Component/s: Webhooks
    • None
    • 10
    • 2
    • Severity 3 - Minor
    • 7

      Issue Summary

      Since Jira 10.0.0, the Webhooks API endpoint /rest/webhooks/1.0/webhook does not return any results

      • If you use the API via a REST Client, you do not get any data back
      • If you navigate to the endpoint in a browser, Jira returns the "broken link" page

      As a result, you are not able to manage your Webhooks outside of the Webhooks page from Settings > System > Webhooks in Jira.

      Steps to Reproduce

      1. Upgrade to Jira 10.0.0
      2. Navigate to Settings > System > Webhooks
      3. Create a Webhook and save
      4. Call the API Endpoint GET /rest/webhooks/1.0/webhook

      Expected Results

      A JSON response of the Webhooks on Jira is returned

      Actual Results

      The below exception is thrown (captured via cURL verbose output)

      API Request
      curl -k -vvv -H "Authorization: Bearer $token" -H "Content-Type:application/json" --url "https://jira.atlassian.com/rest/webhooks/latest/webhook"
      Response
      * Request completely sent off
      < HTTP/2 302
      ...
      < location: https://jira.atlassian.com/login.jsp?permissionViolation=true&os_destination=https%3A%2F%jira.atlassian.com%2Frest%2Fwebhooks%2Flatest%2Fwebhook
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Patrick Turbett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: