How to edit the Dates Associated with a closed Sprint

Still need help?

The Atlassian Community is here for you.

Ask the community

Answer

It is currently not possible to modify the Start/End/Complete dates of a closed sprint through the JIRA Software interface. It can only be accomplished through direct modification of the JIRA Software database.

Workaround

Please be sure to back up your database before executing any direct modifications to the database. If you have a testing/staging JIRA Software environment, always test such modifications there before trying them on your live instance of JIRA Software. This procedure has not undergone official testing and may produce unexpected results.

Identifying the Sprint

Navigate to an issue within the the sprint to be modified, then hover over the sprint name under the Agile portion of the issue view screen - the resulting URL will provide the 'sprintID':

Modifying the Sprint

Once you have the ID of the sprint to be modified:

  1. Shut down JIRA Software
  2. Use the following query to change the desired date data:

    UPDATE "AO_60DB71_SPRINT" SET "dateType" = 'timeValue' WHERE "ID" = 'sprintID';

    The 'dateType' value should be modified based on the following:

    dateType Description
    START_DATE The date/time configured as the sprint's starting date, as set in the "Start Sprint" dialog.
    END_DATE The date/time configured as the sprint's ending date, as set in the "Start Sprint" dialog.
    COMPLETE_DATE The date/time the sprint is completed using the "Complete Sprint" interface action.

    (info) The 'timeValue' is set in milliseconds. Several online converters exist to translate from date/time to milliseconds, such as Epoch Converter.

  3. Start JIRA Software

Last modified on Feb 19, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.