def METHOD_NAME(
    integration: RpcIntegration,
    external_issue_key: str,
    status_change: Mapping[str, str] | None,
    project: str | None,
) -> None:
    if status_change is None:
        return
    org_integrations = integration_service.get_organization_integrations(
        integration_id=integration.id
    )
    for org_integration in org_integrations:
        installation = integration.get_installation(organization_id=org_integration.organization_id)
        if isinstance(installation, IssueSyncMixin):
            installation.sync_status_inbound(
                external_issue_key,
                {
                    "new_state": status_change["newValue"],
                    # old_state is None when the issue is New
                    "old_state": status_change.get("oldValue"),
                    "project": project,
                },
            )