Creating epic in scope board should add label

Summary

When creating an epic in an epic board with a label in it's scope, the label does not get added to the epic, so when the page is refreshed, the epic is not in the board.

What is the expected correct behavior?

The label defined in epic board scope should be added to the newly created epic.

Relevant logs and/or screenshots

Filtered_Epic_Board___Boards___Gitlab_Org___GitLab__1_

Possible fixes

formatEpicInput function in ee/app/assets/javascripts/boards/boards_util.js should be updated to unsure label ids are stripped of GID (use getIdFromGraphQLId util function)