REQUEST: Add a "Copy Markdown Link" to the View Task GUI (Code and SVG Asset Available)

Hey gang,

My organization, like many teams, use GitHub as our repo system. Also, like many orgs, we, as developers, are expected to provide links to the tickets corresponding to the user story our Pull Requests relate to.

GitHub, like BitBucket, GitLab, Gitea, GitKraken, etc. all leverage Markdown as their preferred input schema. The syntax for same to provide a hyperlink is [Link Text](Link URL).

Recently, I wound up submitting a PR that closed out eleven tickets, and, after going through the “Open Ticket, Focus Ticket Name, Select All, Copy, Toggle to GitHub, Paste, Toggle back to Asana, Click Copy Link, Toggle back to GitHub, Paste, Format Markdown” rigamarole twice, I said, “screw this,” and wrote a quick Chrome Extension that adds a “Copy GitHub Markdown Link” button to the Task View GUI.

Our entire team is using it habitually, now, and I thought I’d toss it out there. It’s about 8 lines of code (for me, since I have to inject the button into the DOM, too; should be about 3-4 lines for you). I’m happy to provide the code and the SVG for the icon, free of charge, of course, if it’s something you guys would consider adding in to the functionality of the app.

Example of it in action: https://youtu.be/0GLU65lY2yY

Don’t like the idea of modifying the Panel GUI? S’cool. Add it into the Ellipsis Menu. I did that, too:

1 Like

This guy has already done the code and crated an icon for it. Just adopt this please, Asana!

We do the following:
(using a board in List-view) highlight the current task and do “Ctrl”+“C” to copy it. Then we paste it into GitHub (when e.g. creating a new PR) and it is added as [Link Text](Link URL) or directly as text with link (e.g. in Google Chat).

You can try if this works for your use-case as well - it might even be faster than clicking through the ellipsis menu.

One edge-case when it does not work though: on ticket titles that start or end with a space, no link is created (don’t know why). But such titles can easily be avoided or changed probably without any negative consequences.

1 Like