jira.js
    Preparing search index...

    Function partiallyUpdateSprint

    • Performs a partial update of a sprint. A partial update means that fields not present in the request JSON will not be updated. Notes:

      • Sprints that are in a closed state cannot be updated.
      • A sprint can be started by updating the state to 'active'. This requires the sprint to be in the 'future' state and have a startDate and endDate set.
      • A sprint can be completed by updating the state to 'closed'. This action requires the sprint to be in the 'active' state. This sets the completeDate to the time of the request. If the sprint has offending issues (those which are complete, but have incomplete subtasks) it cannot be closed. If issues are moved to new sprint user has to have issues edit permissions.
      • Other changes to state are not allowed.
      • The completeDate field cannot be updated manually.
      • Sprint goal can be removed by updating it's value to empty string
      • Only Jira administrators can edit dates on sprints that are marked as synced.

      Parameters

      • client: Client
      • parameters: {
            activatedDate?: string;
            autoStartStop?: boolean;
            completeDate?: string;
            endDate?: string;
            goal?: string;
            id?: number;
            incompleteIssuesDestinationId?: number;
            name?: string;
            originBoardId?: number;
            self?: string;
            sprintId: number;
            startDate?: string;
            state?: string;
            synced?: boolean;
        }
        • OptionalactivatedDate?: string
        • OptionalautoStartStop?: boolean
        • OptionalcompleteDate?: string
        • OptionalendDate?: string
        • Optionalgoal?: string
        • Optionalid?: number
        • OptionalincompleteIssuesDestinationId?: number
        • Optionalname?: string
        • OptionaloriginBoardId?: number
        • Optionalself?: string
        • sprintId: number

          The Id of the sprint to update.

        • OptionalstartDate?: string
        • Optionalstate?: string
        • Optionalsynced?: boolean
      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              activatedDate?: string;
              autoStartStop?: boolean;
              completeDate?: string;
              endDate?: string;
              goal?: string;
              id?: number;
              incompleteIssuesDestinationId?: number;
              name?: string;
              originBoardId?: number;
              self?: string;
              startDate?: string;
              state?: string;
              synced?: boolean;
              [key: string]: unknown;
          },
      >