From b5c0cbf9beacc662384f67ef7b01e719eeb00a23 Mon Sep 17 00:00:00 2001 From: Wouter de Vries Date: Tue, 19 Sep 2023 21:07:55 +0200 Subject: [PATCH] Add (current) cycle to issue --- tap_linear/streams.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tap_linear/streams.py b/tap_linear/streams.py index 9f9c5a1..b2170d4 100644 --- a/tap_linear/streams.py +++ b/tap_linear/streams.py @@ -109,6 +109,12 @@ class IssuesStream(LinearStream): th.Property("updatedAt", th.DateTimeType), th.Property("completedAt", th.DateTimeType), th.Property("archivedAt", th.DateTimeType), + th.Property( + "cycle", + th.ObjectType( + th.Property("id", th.StringType), + ), + ), th.Property("assignee", UserType), th.Property("creator", UserType), th.Property( @@ -193,6 +199,9 @@ class IssuesStream(LinearStream): updatedAt completedAt archivedAt + cycle { + id + } assignee { id name