Skip to content

Make sure epic_id param is handled properly

Jarka Košanová requested to merge 245026-fix-epic-assignment into master

What does this MR do?

It fixes a problem with assigning an epic to an issue during issue creation and using quick actions.

When quick action is used for assigning an epic to an issue that is just being created, both epic and epic_id params are used in Issues::CreateService. epic_id is empty in this case.

In the service we have epic = epic_param || find_epic(issue, epic_id) - when there is epic param, it never goes to find_epic which then deletes the epic_id key and set epic_param based on it.

This MR fixes this problem.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related issue #245026 (closed)

Merge request reports

Loading