# Update an issue

Partial update. Empty string clears assigneeId / projectId / cycleId / parentId; estimate 0 clears the estimate; a malformed dueDate is 400 (never treated as "clear"). stateId must belong to the issue's team (else 400 "stateId does not belong to this issue's team"); moving to a completed-type state sets completedAt, moving anywhere else clears it. Property changes are recorded as activity entries, and an assignee change notifies the new assignee.

Canonical: https://easerix.com/docs/developers/api/tasks/issues/updateIssue

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="tasks" operations={[{"path":"/v1/issues/{id}","method":"patch"}]} />
    </>
  );
}
