-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
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
- 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.
- Use the webResponse.body.url smart value to add a comment in the issue with the Comment on issue action.
- 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}}]
Cannot reproduce this bug using a rule configuration with the following structure:
When running the rule, verified that the URL in the response body has no extra slash at the end of it by directly accessing the endpoint. Verified that the Log action returns that same exact URL without the extra slash, meaning automation didnt do anything to the URL to add a slash. Verified that the comment on issue action returns that same exact URL without the extra slash, meaning Jira didnt do anything extra to the URL to add a slash.
Attempted to reproduce this bug using three different endpoints, two using GET and one using a POST method