Skip to content

Fix slack service with label filter on issue event

Andy Schoenen requested to merge 330584-fix-slack-label-filter-issue-events into master

What does this MR do?

#330584 (closed) describes a bug that a Slack notification is not triggered for issue events with a label filter. The problem is that the data hash can have a different structure based on the event. In case of an Issue event labels are nested in object_attributes.

This MR adds additional tests for Issue and MergeRequest events and makes the label filter search for labels in more places.

Related issues

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Andy Schoenen

Merge request reports

Loading