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

SCIM API - filtering on date and Trello type

Dusan Hrstic May 5, 2022

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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 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

Dusan Hrstic May 9, 2022

Ok, thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events