How to add a url with single quotes in jira description

We have an automated job that add’s a url in the description of ticket but the url has single quotes …which is breaking the hyperlink …

As shown in the pic the link is broken due to the single quote …if we try to add an escape character with ' (Html escape) the description already interprets it and we get a single quote and broken hyperlink

We are fairly new toJira . Appreciate the community help in resolving the issue.