def obj_create(self, bundle, request=None, **kwargs):
        request = request or bundle.request
        bundle = super(RunResource, self).obj_create(bundle=bundle, request=request, **kwargs)
        bundle.obj.created_by = request.user
        bundle.obj.save()
        return bundle
Set the created_by field for the run to the request's user
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/execution/api.py/RunResource.obj_create