@@ -38,6 +38,12 @@ definitions:
38
38
type : DpathExtractor
39
39
field_path : ["{{ parameters.extract_field }}"]
40
40
41
+ selector_base :
42
+ type : RecordSelector
43
+ extractor :
44
+ type : DpathExtractor
45
+ field_path : []
46
+
41
47
# Paginator
42
48
43
49
no_pagination_paginator :
@@ -110,10 +116,11 @@ definitions:
110
116
$ref : " #/definitions/full_refresh_stream"
111
117
name : application_roles
112
118
primary_key : " key"
113
- retriever : " #/definitions/retriever_no_pagination"
119
+ retriever :
120
+ $ref : " #/definitions/retriever_no_pagination"
121
+ record_selector : " #/definitions/selector_base"
114
122
$parameters :
115
123
path : " applicationrole"
116
- extract_field : " *"
117
124
118
125
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-avatars/#api-rest-api-3-avatar-type-system-get
119
126
avatars_stream :
@@ -195,10 +202,11 @@ definitions:
195
202
$ref : " #/definitions/full_refresh_stream"
196
203
name : issue_fields
197
204
primary_key : " id"
198
- retriever : " #/definitions/retriever_no_pagination_use_cache"
205
+ retriever :
206
+ $ref : " #/definitions/retriever_no_pagination_use_cache"
207
+ record_selector : " #/definitions/selector_base"
199
208
$parameters :
200
209
path : " field"
201
- extract_field : " *"
202
210
203
211
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-field-configurations/#api-rest-api-3-fieldconfiguration-get
204
212
issue_field_configurations_stream :
@@ -222,11 +230,12 @@ definitions:
222
230
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-navigator-settings/#api-rest-api-3-settings-columns-get
223
231
issue_navigator_settings_stream :
224
232
$ref : " #/definitions/full_refresh_stream"
225
- retriever : " #/definitions/retriever_no_pagination"
233
+ retriever :
234
+ $ref : " #/definitions/retriever_no_pagination"
235
+ record_selector : " #/definitions/selector_base"
226
236
name : issue_navigator_settings
227
237
$parameters :
228
238
path : " settings/columns"
229
- extract_field : " *"
230
239
231
240
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-notification-schemes/#api-rest-api-3-notificationscheme-get
232
241
issue_notification_schemes_stream :
@@ -268,12 +277,13 @@ definitions:
268
277
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-types/#api-group-issue-types
269
278
issue_types_stream :
270
279
$ref : " #/definitions/full_refresh_stream"
271
- retriever : " #/definitions/retriever_no_pagination"
280
+ retriever :
281
+ $ref : " #/definitions/retriever_no_pagination"
282
+ record_selector : " #/definitions/selector_base"
272
283
name : issue_types
273
284
primary_key : " id"
274
285
$parameters :
275
286
path : " issuetype"
276
- extract_field : " *"
277
287
278
288
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-schemes/#api-rest-api-3-issuetypescheme-get
279
289
issue_type_schemes_stream :
@@ -296,12 +306,13 @@ definitions:
296
306
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jira-settings/#api-rest-api-3-application-properties-get
297
307
jira_settings_stream :
298
308
$ref : " #/definitions/full_refresh_stream"
299
- retriever : " #/definitions/retriever_no_pagination"
309
+ retriever :
310
+ $ref : " #/definitions/retriever_no_pagination"
311
+ record_selector : " #/definitions/selector_base"
300
312
name : jira_settings
301
313
primary_key : " id"
302
314
$parameters :
303
315
path : " application-properties"
304
- extract_field : " *"
305
316
306
317
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-labels/#api-rest-api-3-label-get
307
318
labels_stream :
@@ -318,7 +329,6 @@ definitions:
318
329
primary_key : " label"
319
330
$parameters :
320
331
path : " label"
321
- extract_field : " *"
322
332
323
333
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions/#api-rest-api-3-permissions-get
324
334
permissions_stream :
@@ -336,7 +346,6 @@ definitions:
336
346
primary_key : " key"
337
347
$parameters :
338
348
path : " permissions"
339
- extract_field : " *"
340
349
341
350
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permission-schemes/#api-rest-api-3-permissionscheme-get
342
351
permission_schemes_stream :
@@ -387,6 +396,7 @@ definitions:
387
396
$ref : " #/definitions/full_refresh_stream"
388
397
retriever :
389
398
$ref : " #/definitions/retriever_no_pagination"
399
+ record_selector : " #/definitions/selector_base"
390
400
requester :
391
401
$ref : " #/definitions/requester"
392
402
error_handler :
@@ -398,26 +408,27 @@ definitions:
398
408
primary_key : " id"
399
409
$parameters :
400
410
path : " projectCategory"
401
- extract_field : " *"
402
411
403
412
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles#api-rest-api-3-role-get
404
413
project_roles_stream :
405
414
$ref : " #/definitions/full_refresh_stream"
406
- retriever : " #/definitions/retriever_no_pagination"
415
+ retriever :
416
+ $ref : " #/definitions/retriever_no_pagination"
417
+ record_selector : " #/definitions/selector_base"
407
418
name : project_roles
408
419
primary_key : " id"
409
420
$parameters :
410
421
path : " role"
411
- extract_field : " *"
412
422
413
423
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-types/#api-rest-api-3-project-type-get
414
424
project_types_stream :
415
425
$ref : " #/definitions/full_refresh_stream"
416
- retriever : " #/definitions/retriever_no_pagination"
426
+ retriever :
427
+ $ref : " #/definitions/retriever_no_pagination"
428
+ record_selector : " #/definitions/selector_base"
417
429
name : project_types
418
430
$parameters :
419
431
path : " project/type"
420
- extract_field : " *"
421
432
422
433
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screens/#api-rest-api-3-screens-get
423
434
screens_stream :
@@ -441,12 +452,13 @@ definitions:
441
452
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-time-tracking/#api-rest-api-3-configuration-timetracking-list-get
442
453
time_tracking_stream :
443
454
$ref : " #/definitions/full_refresh_stream"
444
- retriever : " #/definitions/retriever_no_pagination"
455
+ retriever :
456
+ $ref : " #/definitions/retriever_no_pagination"
457
+ record_selector : " #/definitions/selector_base"
445
458
name : time_tracking
446
459
primary_key : " key"
447
460
$parameters :
448
461
path : " configuration/timetracking/list"
449
- extract_field : " *"
450
462
451
463
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-search-get
452
464
users_stream :
@@ -460,9 +472,9 @@ definitions:
460
472
pagination_strategy :
461
473
type : OffsetIncrement
462
474
page_size : 50
475
+ record_selector : " #/definitions/selector_base"
463
476
$parameters :
464
477
path : " users/search"
465
- extract_field : " *"
466
478
467
479
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows/#api-rest-api-3-workflow-search-get
468
480
workflows_stream :
@@ -494,22 +506,24 @@ definitions:
494
506
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-statuses/#api-rest-api-3-status-get
495
507
workflow_statuses_stream :
496
508
$ref : " #/definitions/full_refresh_stream"
497
- retriever : " #/definitions/retriever_no_pagination"
509
+ retriever :
510
+ $ref : " #/definitions/retriever_no_pagination"
511
+ record_selector : " #/definitions/selector_base"
498
512
name : workflow_statuses
499
513
primary_key : " id"
500
514
$parameters :
501
515
path : " status"
502
- extract_field : " *"
503
516
504
517
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-status-categories/#api-rest-api-3-statuscategory-get
505
518
workflow_status_categories_stream :
506
519
$ref : " #/definitions/full_refresh_stream"
507
- retriever : " #/definitions/retriever_no_pagination"
520
+ retriever :
521
+ $ref : " #/definitions/retriever_no_pagination"
522
+ record_selector : " #/definitions/selector_base"
508
523
name : workflow_status_categories
509
524
primary_key : " id"
510
525
$parameters :
511
526
path : " statuscategory"
512
- extract_field : " *"
513
527
514
528
# Substream Based Fullrefresh Streams
515
529
@@ -520,6 +534,7 @@ definitions:
520
534
primary_key : " id"
521
535
retriever :
522
536
$ref : " #/definitions/retriever_no_pagination"
537
+ record_selector : " #/definitions/selector_base"
523
538
partition_router :
524
539
type : SubstreamPartitionRouter
525
540
parent_stream_configs :
@@ -535,15 +550,14 @@ definitions:
535
550
value : " {{ stream_slice.filter_id }}"
536
551
$parameters :
537
552
path : " filter/{{ stream_slice.filter_id }}/permission"
538
- extract_field : " *"
539
553
540
554
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-rest-api-3-field-get
541
555
__custom_issue_fields_substream :
542
556
$ref : " #/definitions/issue_fields_stream"
543
557
retriever :
544
558
$ref : " #/definitions/retriever_no_pagination_use_cache"
545
559
record_selector :
546
- $ref : " #/definitions/selector "
560
+ $ref : " #/definitions/selector_base "
547
561
record_filter :
548
562
condition : " {{ record.get('custom', False) }}"
549
563
@@ -678,7 +692,6 @@ definitions:
678
692
value : " {{ stream_slice.parent_slice.issue_property_key }}"
679
693
$parameters :
680
694
path : " issue/{{ stream_slice.parent_slice.issue_property_key }}/properties/{{ stream_slice.property_key }}"
681
- extract_field : " *"
682
695
683
696
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links/#api-rest-api-3-issue-issueidorkey-remotelink-get
684
697
issue_remote_links_stream :
@@ -687,6 +700,7 @@ definitions:
687
700
primary_key : " id"
688
701
retriever :
689
702
$ref : " #/definitions/retriever_no_pagination"
703
+ record_selector : " #/definitions/selector_base"
690
704
partition_router :
691
705
type : SubstreamPartitionRouter
692
706
parent_stream_configs :
@@ -702,7 +716,6 @@ definitions:
702
716
value : " {{ stream_slice.issue_property_key }}"
703
717
$parameters :
704
718
path : " issue/{{ stream_slice.issue_property_key }}/remotelink"
705
- extract_field : " *"
706
719
707
720
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-get
708
721
issue_transitions_stream :
@@ -756,7 +769,6 @@ definitions:
756
769
value : " {{ stream_slice.issue_property_key }}"
757
770
$parameters :
758
771
path : " issue/{{ stream_slice.issue_property_key }}/votes"
759
- extract_field : " *"
760
772
761
773
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers/#api-rest-api-3-issue-issueidorkey-watchers-get
762
774
issue_watchers_stream :
@@ -791,7 +803,6 @@ definitions:
791
803
value : " {{ stream_slice.issue_property_key }}"
792
804
$parameters :
793
805
path : " issue/{{ stream_slice.issue_property_key }}/watchers"
794
- extract_field : " *"
795
806
796
807
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-avatars/#api-rest-api-3-project-projectidorkey-avatars-get
797
808
project_avatars_stream :
@@ -932,6 +943,7 @@ definitions:
932
943
primary_key : " id"
933
944
retriever :
934
945
$ref : " #/definitions/retriever_no_pagination_use_cache"
946
+ record_selector : " #/definitions/selector_base"
935
947
partition_router :
936
948
type : SubstreamPartitionRouter
937
949
parent_stream_configs :
@@ -956,7 +968,6 @@ definitions:
956
968
value : " {{ stream_slice.screen_id }}"
957
969
$parameters :
958
970
path : " screens/{{ stream_slice.screen_id }}/tabs"
959
- extract_field : " *"
960
971
961
972
# https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screen-tab-fields/#api-rest-api-3-screens-screenid-tabs-tabid-fields-get
962
973
screen_tab_fields_stream :
@@ -965,6 +976,7 @@ definitions:
965
976
primary_key : " id"
966
977
retriever :
967
978
$ref : " #/definitions/retriever_no_pagination"
979
+ record_selector : " #/definitions/selector_base"
968
980
partition_router :
969
981
type : SubstreamPartitionRouter
970
982
parent_stream_configs :
@@ -983,7 +995,6 @@ definitions:
983
995
value : " {{ stream_slice.parent_slice.screen_id }}"
984
996
$parameters :
985
997
path : " screens/{{ stream_slice.parent_slice.screen_id }}/tabs/{{ stream_slice.tab_id }}/fields"
986
- extract_field : " *"
987
998
988
999
__boards_substream :
989
1000
$ref : " #/definitions/boards_stream"
@@ -1057,7 +1068,6 @@ definitions:
1057
1068
field_path : []
1058
1069
$parameters :
1059
1070
path : " user"
1060
- extract_field : " *"
1061
1071
1062
1072
# Incremental Streams
1063
1073
@@ -1185,7 +1195,7 @@ definitions:
1185
1195
retriever :
1186
1196
$ref : " #/definitions/retriever_no_pagination_use_cache"
1187
1197
record_selector :
1188
- $ref : " #/definitions/selector "
1198
+ $ref : " #/definitions/selector_base "
1189
1199
record_filter :
1190
1200
condition : " {{ record.name in ['Story Points', 'Story point estimate'] }}"
1191
1201
0 commit comments