linear / linear-zapier

Linear's Zapier integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Ability to grab latest comment

anthonysnyder opened this issue · comments

I have no idea if I am doing this right, but I am hoping to have the Zapier integration updated so that one of the fields that I can pull data from is the latest comment on a ticket.

My use case here is if I update a ticket in Linear via a new comment, I want to be grab that comment and (via Zapier) add it to a database entry in Notion.

It sounds like you need to switch to using the existing comment trigger,

image

You can see the data that will be available for new comments, here:

https://github.com/linear/linear-zapier/blob/master/src/triggers/comment.ts#L4

O.o

How did I miss that?

Ah, yes. So I am not sure if this is desired functionality, but when I try and do that, the Issue ID field does not allow me to "Insert Data" like using the Updated Issue trigger does ala this screenshot.
image

As I am writing this comment, it would also be convenient if I could choose a label to trigger off of.

Such as: New comment added to a ticket with the XX label but ignore all other new comments.

It should be there according to the code (issue.id)…