Hey there, is there a way to attach a Github PR via the Asana API? It looks like it’s created similar to a Task Attachment?
Hi @anon44811906 and welcome to the forum,
If you mean to attach one such that it displays in the way that the Github integration does:
no, there’s no way to do that via the API; only the Github integration can do that.
That being said, it uses the App Component architecture, and you could write your own App Component which mimics the behavior of the Gtihub one. It’s a good deal of work to do that, but it’s possible.
That’s unfortunate. We wanted to write some automation which would auto attach the PR to the Task, instead of just adding it as a comment.
Thanks for your reply
I’m confused; your answer doesn’t seem relevant to this topic. The OP was asking about adding data to a task; your post is about retrieving an existing attachment. Can you clarify? Thanks.
Oh, your right. I misread, sorry about that. I’ll see if I can edit my previous post.