Creating a Confluence link card

Rudy Holtkamp
Contributor
June 29, 2023

Hi,

With a POST to

https://api.trello.com/1/cards?key=<key>&token=<token>&idList=<list id>&name=https://company.atlassian.net/browse/JIRA-328&cardRole=link

You can create a which behaves as a link in Trello:

image.png

 

When you try to do the same with a Confluence link, e.g. replacing the URL for https://company.atlassian.net/wiki/spaces/~423289333/pages/3311927314/Trello+test

It does not convert to a linked card, while if you copy past this in the Trello UI it does link

image.png

The card 'Trello test' has been added via the UI, while the second card has been added via the REST API.

(Note, I've removed the company URL in the above picture.)

 

Does anybody have an idea how to create Cards with Confluence page links?

 

1 answer

0 votes
Lara
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2023

Hi Rudy,

Thanks for reaching out!

You'll need to pass the "cardRole" parameter with value "link" with your request.

Example:

cardRole: "link"

Let me know how that goes,

Lara
The Trello Team

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events