Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1364

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

    • 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

            [AUTO-1364] Webresponse.body.url smartvalue includes an extra slash in the href when the link is autogenerated

            Charlie Gavey made changes -
            Labels Original: jsw-s13 New: RIBS-SHORT jsw-s13
            Alejandro Scuncia (Inactive) made changes -
            Attachment New: image-2024-07-15-11-55-44-983.png [ 460706 ]
            Alejandro Scuncia (Inactive) made changes -
            Attachment New: image-2024-07-15-11-55-01-435.png [ 460705 ]
            Maggie So made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]
            jhaloot made changes -
            Labels New: jsw-s13
            Alejandro Scuncia (Inactive) created issue -

              Unassigned Unassigned
              91ab64c19c3b Alejandro Scuncia (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: