Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using Trello Search API, how to escape double quote?

Frederic Malenfant July 24, 2018

I use the search API for almost all my "cards" queries.

I search tags and lists with tag:"tag name", list:"list name".

Almost every queries works, special characters, accentued, until I have a double-quote inside the tag or list name.

I don't have these issues with members or boards, because I can use ID instead of names.

I tried multiple way to escape or encode a double-quote inside my query, but I never got the results I was looking for.

If my list is called [this is "my" list], how can I search for it, using the query api?

sample query: 

sort:edited is:open board:xxxyyyzzz List:"this is "my" list"

Thank you.

 

1 answer

1 vote
Garrett
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2018

Hi Frederic,

Looks like you found a bug, nice! I was able to reproduce this, and I've passed it on to the team for additional investigation.

We don't have an ETA on when a fix for the issue will be pushed, but as soon as one is available we will deploy it.


Thanks for the heads up on this!

Frederic Malenfant July 26, 2018

Thank you! And, when it will be fixed, do I escape my double-quote with a backslash?

something like 
sort:edited is:open board:xxxyyyzzz List:"this is \"my\" list" ?

Thank you!

Garrett
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 6, 2018

Hey Frederic,

The team is looking into escape methods currently, I cannot say how it will work right now. Once we have a solution determined, our API docs will be updated accordingly.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events