Hi all,
I am attempting to attach a google drive to a Trello card, Steps 1-3. This is working, yay! However, when you see it on the card it looks like a long clunky URL. I want to add display text for the attachment link in Trello which is "Card Name" Google Drive.
AI Copilot said that I couldn't add display text in step 3, but I could make a custom step 4 which adds display text for the link. The problem is that this requires an "Attachment Id" which I pressumed would be a value created in Step 3, but it isn't an available value in the drop down for items produced in step 3. Any ideas?
Hey there!
If you're able to add URL attributes to the request that's adding the attachment, it may be possible to set the attachment's name at the same time that you add it to your card.
The name attribute is the one you'd use, for example:
Here's the endpoint used in that example: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post
That last value name=testname will set the display text of that URL attachment to "testname".
Hopefully that helps get you on the right track! Otherwise, I believe you're right that it's possible to look up an attachment IDs for all attachments on a card using this endpoint: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-get
Then you could reference your specific attachment by its ID from there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.