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}}] 

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

                Created:
                Updated:
                Resolved: