Fetching apps data for sync
How fetching of data that should be synced works ?
As explained on Architecture page, getint.io is using REST Api to communicate with apps (Jira, ServiceNow, etc) and by using REST Api we are fetching data that should be synced.
For each integration, every specified interval, following logic is performed
1) for app A, send REST Api request to fetch data that should be synced
2) for app B, send REST Api request to fetch data that should be synced
3) For each found item returned by 1 and 2, check if item was already synced in some previous runs for given integration.
if yes, fetch its counterpart, and check which one was modified later. The later one, will be treat as trigger and the counterpart will be updated using the trigger data
if no, create new item in the app on the other side (e.g. if B item has no counterpart, item in A app will be created)
Example of sent requests to Jira and GitHub
As you can see on 2nd and 5h lines, we requests for fetching items to sync contains more parameters specific to the created integration like time since which items were modified (this is a time of last integration) and e.g. project keys
Last updated