feat: add linked issue api

This commit is contained in:
Muhsin Keloth
2024-05-09 22:40:42 +05:30
parent 5e1dbfb64d
commit 4645e57e9a
8 changed files with 134 additions and 0 deletions
+18
View File
@@ -58,4 +58,22 @@ module LinearQueries
}
GRAPHQL
end
def self.linked_issue(url)
<<~GRAPHQL
query {
attachmentsForURL(url: "#{url}") {
nodes {
id
title
issue {
id
title
description
}
}
}
}
GRAPHQL
end
end