Remove and Add label to associated issue when merge request is merged

Is this possible to be done? After all, the original issue is the one to be labeled (and shown in boards), not merge request.