Cannot add emojis on notes in incidents related to alerts
Summary
Adding new emojis don't work on incident (related to an alert) notes when view via issues/incident/IID
. They do work on the same issue via issues/IID
though.
Found during https://gitlab.com/gitlab-org/monitor/monitor/-/issues/67#note_536854783.
Steps to reproduce
- Enable HTTP endpoint via Settings > Operations > Alerts
- Fire an alert and create an incident
Create Incident
in Operations > Alerts - Go to corresponding issue e.g. https://gitlab.com/gitlab-examples/ops/incident-setup/everyone/tanuki-inc/-/issues/2486
- Add
👍 on a comment (works!)✔ - Remove the emoji again
- Go to corresponding incident https://gitlab.com/gitlab-examples/ops/incident-setup/everyone/tanuki-inc/-/issues/incident/2486
- Try to add
👍 on the same comment and it fails❌
Example Project
https://gitlab.com/gitlab-examples/ops/incident-setup/everyone/tanuki-inc/
What is the current bug behavior?
I cannot add emojis on issue comments when viewed via issues/incident/IID
.
What is the expected correct behavior?
I should be able to add emojis on issue comments when viewed via issues/incident/IID
.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)