Nick Van Kuren
01/04/2024, 11:16 PMtap-jira
and focused on the Issues stream:
metadata:
issues:
replication-method: INCREMENTAL
replication-key: updated_at
State:
Incremental state: {'bookmarks': {'audit_records': {'replication_key': 'created', 'replication_key_value': '2024-01-04T22:44:49.075+0000'}, 'fields': {'replication_key': 'id', 'replication_key_value': 'workratio'}, 'issue_types': {'replication_key': 'id', 'replication_key_value': '10213'}, 'issues': {'replication_key': 'updated_at', 'replication_key_value': '2024-01-04T22:44:49.204+0000'}, 'issue_changelog': {}, 'issue_comments': {}, 'issue_watchers': {}, 'issue_worklogs': {}}}
Am I missing something here? Since the State for the job seems to be recording the replication-key-values correctly, I would not be expecting to see records synced with an updated_at date earlier than this value in the case of the Issues stream.Edgar Ramírez (Arch.dev)
01/05/2024, 4:46 AMfrom
param: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records/#api-rest-api-3-auditing-record-get
So, we'd need to override get_url_params
to make use of get_starting_timestamp
and pass it as the from
query parameter.