Associating Opsgenie Teams to JSM Service post Opsgenie migrated within JSM

We have currently migrated Opsgenie within JSM, so the APIs that were used to create Opsgenie services https://api.opsgenie.com/v1/services which in turn created similar services in JSM doesn’t work now.

As we have the Teams concept in JSM… So, lets say I create a Team in JSM using API, now how can we map that to “Services” panel in JSM?

There used to be way using /api/graphql/pq/ operation=CreateService [“operationName”: “gqlJiraJsmServicesCreateDevOpsServiceMutation”] but that doesn’t update the Service Owner Team or Responder Team attributes of JSM Service. Any help is really appreciated?