Group-level labels are not applied with Service Desk templates

Summary

Group level labels are not added to issues that are created via Service Desk templates that use quick actions. However, project-level labels are properly added.

Initially reported by a customer in https://gitlab.zendesk.com/agent/tickets/170604 (internal use)

Steps to reproduce

  1. Create a new project within a group of your choosing

  2. Add a label test1 at the group level

  3. Add a label test2 at the project level

  4. Create the file .gitlab/issue_templates/test.md and populate it with this content:

### This is a test
/label ~test1 ~test2 
  1. Configure Service Desk to use this template

  2. Email the Service Desk address and view the issue that is created - only the project level label will be applied.

What is the current bug behavior?

Group level labels are not added to Service Desk generated issues.

What is the expected correct behavior?

Group level labels are properly added to Service Desk generated issues.

Output of checks

This bug happens on GitLab.com.