-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperlinks in Slack messages are broken when there is "_" or "*" in the URL #165673
Labels
bug
Fixes for quality problems that affect the customer experience
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Comments
ersin-erdal
added
bug
Fixes for quality problems that affect the customer experience
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
and removed
needs-team
Issues missing a team label
labels
Sep 5, 2023
Pinging @elastic/response-ops (Team:ResponseOps) |
ersin-erdal
changed the title
Hyperlinks in Slack messages are broken when there is "_" or "*" in the link
Hyperlinks in Slack messages are broken when there is "_" or "*" in the URL
Sep 5, 2023
mikecote
moved this from Awaiting Triage
to Todo
in AppEx: ResponseOps - Execution & Connectors
Sep 7, 2023
cc @shanisagiv1 internal feedback |
Any plans on when we will be able to pick this up? |
@katrin-freihofner I'm going to add this to 8.12 candidates 👍 cc @shanisagiv1 |
Sometimes this issue does not happen, as you can see here. |
doakalexi
moved this from Todo
to In Progress
in AppEx: ResponseOps - Execution & Connectors
Oct 24, 2023
Merged
1 task
doakalexi
moved this from In Progress
to In Review
in AppEx: ResponseOps - Execution & Connectors
Oct 27, 2023
doakalexi
moved this from In Review
to In Progress
in AppEx: ResponseOps - Execution & Connectors
Oct 27, 2023
doakalexi
moved this from In Progress
to In Review
in AppEx: ResponseOps - Execution & Connectors
Oct 27, 2023
doakalexi
added a commit
that referenced
this issue
Oct 30, 2023
…_" or "*" in the URL (#170067) Resolves #165673 ## Summary `escapeSlack` function in the mustasche_renderer breakes the hyperlinks by wrapping the URL with backticks. So the below markdown template does not work. `<{{context.alertDetailsUrl}}|View alert details>` This PR removes the code that adds backticks. With this change action variables with text wrapped in asterisks \*text\* will render as **text** or wrapped in underscores \_text\_ will render as _text_ . ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### To verify - Create a slack connector - Create a rule that uses a slack connector and use the above markdown template - Verify that hyperlink is working properly in slack
github-project-automation
bot
moved this from In Review
to Done
in AppEx: ResponseOps - Execution & Connectors
Oct 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Fixes for quality problems that affect the customer experience
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
escapeSlack function in the mustasche_renderer breakes the hyperlinks by wrapping the URL with backticks.
So the below markdown template does not work.
<{{context.alertDetailsUrl}}|View alert details>
The text was updated successfully, but these errors were encountered: