Validate webhook config function does not work when adding the BaseUrl smart value to the URL in Send web request action

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.0.4, 9.1.4
    • Affects Version/s: 9.0.3
    • Component/s: Smart-values
    • None
    • Minor

      Issue Summary

      If BaseUrl smart value is added to the URL or Web request body and try to validate your web request configuration the request will fail.
      BaseUrl smart value will work as expected during the rule execution.

      Steps to Reproduce

      1. Create automation rule with any trigger
      2. Add Send web request action
      3. Use baseUrl smart value in URL or Web request body
      4. Validate your web request configuration with “Validate” button

      Expected Results

      BaseUrl smart value is being resolved into https://<jira-base-url>

      Actual Results

      BaseUrl smart value is not being resolved and request fails.

      Workaround

      Hard code site URL during for the request validation.

      Alternative Workaround: Use a loopback address and the Jira port. This depends on installation details to work out the right values. Example:

      Allowlist: http://127.0.0.1:8080
      Send web request: http://127.0.0.1:8080/latest/hooks/c2ac...8c2a
      

        1. screenshot-1.png
          69 kB
          Morgan Knicely
        2. screenshot-2.png
          153 kB
          Morgan Knicely
        3. screenshot-3.png
          77 kB
          Morgan Knicely

            Assignee:
            Mateusz Beczek
            Reporter:
            Jose Antonio Uribe (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: