1

We are using the URL of trello cards as branch names in our versioning tool (git) so that devs can easily find the card just by searching for the branch name.

However, if someone changes the title, then the URL also changes and the dev does not find the card with just the branch name.

Is there a way to make the URL permanent or at least make it so that a 301/302 redirect is created from the old to the new url?

1 Answer 1

1

Trello card urls are of the form:

https://trello.com/c/<id>/<title>

The <id> is the only required part of the url, and if the <title> part is removed, the url will still work and will redirect back to the form with the <title>.

So, for this card url:

https://trello.com/c/w1B6bZE0/18-add-new-notes-ideas-or-brainstorming-items-to-this-list

You could store the url as https://trello.com/c/w1B6bZE0/ and if you click on that link you'll see that it redirects back to the former regardless of the card's title.

1
  • Nice, this means we can use that ID instead of the whole URL atleast.
    – Black
    Jul 29, 2022 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.