{% extends "ui3/base.html" %} {% block title %}Migrate jobs – BioQueue{% endblock %} {% block content %}

Migrate jobs

Staff only. Reassign jobs from one account to another. Result folders move from {run_dir}/{from_id}/{result} to {run_dir}/{to_id}/{result}. Running, resource-locked, and locked jobs are skipped. Listing a parent also includes source-owned descendants. Same-owner History links must move together. Workspaces the destination does not own are cleared. Protocols stay attached.

{% if error %}
{{ error }}
{% endif %}
{% csrf_token %}
Job IDs integers only; leave blank for all jobs owned by the source. Parent IDs include source-owned descendants.
{% if result %}

{% if result.dry_run %}Preview{% else %}Result{% endif %} {{ result.from_user.username }} → {{ result.to_user.username }}

{% if result.dry_run %} {{ result.previews }} would move, {{ result.skipped }} skipped. {% else %} {{ result.moved }} moved, {{ result.skipped }} skipped, {{ result.errors }} failed. {% endif %}

{% for row in result.rows %} {% empty %} {% endfor %}
ID Name Action Files Notes
{{ row.job_id }} {{ row.job_name|default:"—" }} {{ row.action }} {{ row.files|default:"" }} {{ row.detail }}
No jobs found.
{% endif %} {% endblock %} {% block extra_js %} {% endblock %}