Post

1 follower Follow
0
Avatar

Java filter example

Hi - me again.

I've been playing with the Bugs (API example) app.  Now that I got the getItems method to work, I'm looking to filter the list that gets returned - perhaps by Priority or Status.  I see an example in ItemTestAPI, but that appears to filter by CreatedBy and CreatedVia.

Anyone?

Rich Stoldt

Please sign in to leave a comment.

3 comments

-1
Avatar

The getItems call support filtering - check the {key} part of the  Get Items docs. You just need to build and supply the correct FilterByValue when you invoke the method.

Casper Fabricius -1 votes
0
Avatar

I've been to that article about 100 times and it's completely unclear - hence I'm asking for a clear example.  I don't post unless I'm completely stumped.  Thanks.

Also, that page states that this functionality is deprecated so should I be using Filter Items (also unclear)?

Rich Stoldt 0 votes
0
Avatar

Anyone?

The referenced article demonstrates a GET - this does not translate to Jave.  I do understand the "teach a man to fish" approach, bur ....

Rich Stoldt 0 votes