Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Full Sync runs every 12 hours and does the following:

  • Downloads all issue changes for the certain period. How the period is calculated is explained further.
  • Downloads JIRA configuration for all connections.

Quick sync runs every 2.5 minutes and does the following:

First JIRA Client checks if there were any changes since the last update. To do this, JIRA Client requests the last updated issue from JIRA and compares it to the issue that was downloaded last during the latest update. If the issues and their update times are the same, no further actions are taken. If the issues are different or the time doesn't match, the update procedure starts.

For the update JIRA Client downloads changes for a certain period. How the period is calculated is explained below.

Both for the full and quick sync the period for which changes are downloaded is the same and is calculated as follows:

JIRA Client takes the time of the last update and then subtracts the Stepback parameter (jira.reload.stepback for full sync and jira.reload.stepback.quick for quick sync). Then it calculates the difference between the resulting timestamp and the current timestamp and rounds up to days. Then JIRA Client adds one more day to the result. This is done to make sure no changes are missed because of the possible time zone differences on the server and the client.

This method is not perfect, but it makes sure there are no changes missed and JIRA Client is in perfect sync with JIRA. New more optimized synchronization mechanisms will be implemented once we switch to the new JIRA API.