Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get lost the label "[image]" in my card description.

Javier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2025

I do a program in Java 8, it reads the emails from my inbox, that its by using te API Trello, creates a card.

The card its formed by Title, description, label (Priority), and attatchments.

My problem its in the section of description.

I do that the attachments received, in case of i received, it puts the images in description, but i have the problem that it puts the images but after o before, it puts a text like "[image]". 

According to see some threads, API Trello does not have posibility to control this.

I attach a photo.

Captura de pantalla 2025-06-04 113542.png

1 answer

0 votes
Renato Fagaraz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2025

Hi!

 

You're right that the Trello API doesn't have built-in options to control or remove the "[image]" text that appears when you add attachments to the description. However, you can handle this in your script. For instance, you could use a simple regex replacement to strip out the "[image]" text from the descriptions. This way, after you add the attachments, you can clean up the description by removing any unwanted text.

While there's no direct API parameter to solve this, handling it in your script should do the trick.

Let me know if you have any questions!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events