def _group_ccs_with_issuetracker(ccs_payload, ccs_issuetracker):
  """Group ccs from ggrc system and issuetracker.

  Args:
    - ccs_system: CCs on Issue Tracker Payload
    - ccs_tracker: CCs from Issue Tracker

  Returns:
      list of grouped ccs from ggrc and issuetracker.
  """
  ccs_system = set(cc.strip() for cc in ccs_payload)
  ccs_tracker = set(cc.strip() for cc in ccs_issuetracker)

  return list(ccs_system.union(ccs_tracker))