Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,045
Community Members
 
Community Events
165
Community Groups

SCIM API - filtering on date and Trello type

Hi there!

I am using Postman in order to fetch Trello Boards via Trello's SCIM API Groups' URL https://developer.atlassian.com/cloud/trello/scim/resources/#groups .

I am not facing any issues if I only filter on boards with following URL:
https://trello.com/scim/v2/groups?filter=meta.trelloType%20eq%20%22Board%22

However, the problem occurs when I want to filter on date and boards. According to the documentation, in order to filter on date one has to provide "filter" parameter as "meta.created gt "2022-01-01"" where the date is a string and the value for "filter" parameter has to be encoded. Thus, when filtering on boards and date, the encoded URL becomes:

https://trello.com/scim/v2/groups?startIndex=1&count=100&filter=meta.trelloType%20eq%20%22Board%22%20and%20meta.created%20gt%20%222022-01-01%22

And after I call the GET method of the above URL I get:

{'schemas': ['urn:ietf:params:scim:api:messages:2.0:Error'], 'status': '500', 'detail': "Something went wrong. I'm afraid that's all I can say right now."}

Just to point out, I've tested with both the date and timestamp.

Since I followed the documentation and the error is not descriptive, I am wondering if this is a bug or if I am doing something wrong.

1 answer

0 votes
Alex Waite Atlassian Team May 08, 2022

Hey @Dusan Hrstic! I recommend raising this over in the Developer Community instead, you can do this at https://community.developer.atlassian.com/

The Trello section of this Community can be found at https://community.developer.atlassian.com/c/trello/42

Ok, thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,341 views 28 40
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you