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
@@ -58,6 +58,13 @@ class Integrations::Linear::ProcessorService
response['searchIssues']['nodes'].map(&:as_json)
end
def linked_issue(url)
response = linear_client.linked_issue(url)
return response if response[:error]
response['attachmentsForURL']['nodes'].map(&:as_json)
end
private
def linear_hook