diff --git a/lib/galaxy/tools/actions/__init__.py b/lib/galaxy/tools/actions/__init__.py index 249b34f2b484..391dbbc11434 100644 --- a/lib/galaxy/tools/actions/__init__.py +++ b/lib/galaxy/tools/actions/__init__.py @@ -850,6 +850,7 @@ def _new_job_for_session(self, trans, tool, history): job.session_id = model.cached_id(galaxy_session) if trans.user is not None: job.user_id = model.cached_id(trans.user) + job.user = trans.user if history: job.history_id = model.cached_id(history) job.tool_id = tool.id