Duplicate a Task
Duplicate a Task
/api/v1/tasks/{task_id}/duplicateCreates a new independent Task from an active source Task. Title, description, and priority are always copied. Callers explicitly choose whether to copy the current assignee, due date, milestone, labels, attachment links, and the active subtask tree. Comments, Activity, notification history, assignment periods, time entries, subscriptions, and integration execution history are never copied.
Cross-Project duplication maps Statuses by semantic category unless an
explicit destination Status is supplied, keeps Workspace labels, maps
Project labels by normalized name, and reports optional resources that
cannot be copied in issues. Milestones remain Project-local. The
command copies at most 25 active descendants and 100 clean attachment
links per copied Task; it never duplicates stored attachment objects or
storage quota. If-Match protects the source revision, and retries with
the same idempotency key replay the original result.
Path Parameters
Header Parameters
string·min 43·max 43Session-bound CSRF token. It must exactly match the
__Host-assign_csrf cookie sent with the request.
Request Body
application/jsonstring <uuid>Destination Project. Omit or use null to duplicate inside the source Project.
string <uuid>Explicit destination Status for the new root. Omit or use null to preserve the Status in the same Project or map its category across Projects.
booleanCopy at most 25 active descendants while preserving the parent hierarchy.
Responses
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·min 1·max 200Correlation identifier for the request.
string·const nosniffPrevents user agents from MIME-sniffing the response.