Multiple filters for search API

henry liu I'm New Here Jan 15, 2018


how can i build the query string of search api for card? with multiple filter, like card name, archived status, etc.

querystring = 'name:cardname is:open and is:archived' ? but not work.


1 answer

0 vote
Oscar Triscon Community Champion Jan 16, 2018

Have you tried URL-encoding the parameters?


GET 1/search?query=name:%22cardname%22%20is:open%20is:archived
henry liu I'm New Here Jan 17, 2018

actually i'm not using url encoding, i'm using the following

querystring = {}
querystring['query'] = 'name:{0} is:{1}'.format(cardName,status)

response = requests.request('GET',url,params=querystring)

seems it works now. thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Feb 02, 2018 in Trello

Atlassian User Groups: Trello edition

You’re invited to our first ever Trello User Groups   Good news for current and aspiring Trello enthusiasts! We’re launching Trello User Groups so that you can network, share ideas, solve ...

1,742 views 14 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you