Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-989

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.0.4, 9.1.4
    • 9.0.3
    • 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
          screenshot-1.png
          69 kB
        2. screenshot-2.png
          screenshot-2.png
          153 kB
        3. screenshot-3.png
          screenshot-3.png
          77 kB

              7d61d3d60e1c Mateusz Beczek
              458e633c07a6 Jose Antonio Uribe (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: