Webresponse.body.url smartvalue includes an extra slash in the href when the link is autogenerated

XMLWordPrintable

    • Minor
    • Jira Software, Jira Service Management, Jira Work Management

      Issue Summary

      Webresponse.body.url smart value includes an extra slash in the href when the link is autogenerated, which can lead to issues. 

       

      Example URL: https://www.atlassian.com

      Generated link: https://www.atlassian.com/

      Steps to Reproduce

      1. Create an automation rule that uses a Send Web Request action to gather data from an external system. The response should include an url in the body.
      2. Use the webResponse.body.url smart value to add a comment in the issue with the Comment on issue action.
      3. Evidence that the added comment includes an autogenerated link, which href includes an extra slash.

      Expected Results

      The generated HREF should point to the same URL without the extra slash

      Actual Results

      The HREF includes an extra slash

      Workaround

      Using the markup syntax to add the link is a viable workaround. Instead of:

      {{webResponse.body.url}} 

      Please use

      [{{webResponse.body.url}}] 

      or

      [link name|{{webResponse.body.url}}] 

        1. image-2024-07-15-11-55-01-435.png
          261 kB
          Alejandro Scuncia
        2. image-2024-07-15-11-55-44-983.png
          256 kB
          Alejandro Scuncia

            Assignee:
            Unassigned
            Reporter:
            Alejandro Scuncia (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: