question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Board.Actions will only return 50 Items

See original GitHub issue

Hi, I only started using Manatee.Trello yesterday and figured out how to get it working for the most part. Never dealt with Async stuff before so that was new. Anyway, I want to get ALL Actions from a Board but not matter what I do it will only return 50 when I know there is a lot more. I don’t know what I’m doing wrong.

This is a .NET Forms App with C#. I’m using private form level declarations to make it easy. I’m not using the Return on the Sync calls at all.

The other weird thing is that I have to call this twice in order to get the data. First when the form opens and then second when I call the same thing from a Button on the form.

`
private TrelloAuthorization _trelloAuthorization; private TrelloFactory _factory; private Board _board;

    public async Task<Board>  GetBoard()
    {
        _factory = new TrelloFactory();
        var board = _factory.Board("5d6eae8fd0ad2b7111f9120a", _trelloAuthorization);

        _board = (Board)board;
        _board.Actions.Limit = 10000;
        _board.Actions.Filter(System.DateTime.Now, System.DateTime.Now.AddYears(-1));
        await _board.Refresh();

        return (Board)_board;
    }`

I expected to get all the Actions back from the Board, not just 50. Please help. Thanks!

  • OS: Windows 10 Pro
  • .Net Target 4.7.2
  • Version 4.0.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
davestuartcommented, Dec 15, 2019

That’s perfect Greg! I just got v4.1.1 and the FullName is coming through now, plus I have all 621 Actions now. I understand about the DownloadedFields property so thanks for pointing that out.

0reactions
gregsdenniscommented, Dec 15, 2019

v4.1.1 is out which should fix the NRE. Just update the Nuget package and you should be good.

For the DownloadedFields property, read here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find issue jql query only returns 50 results
At EPIC, edit, link issue - child of, search for an issue Click on the link Advanced Search from the Find JIRA issues...
Read more >
Fetching issues from JQL returns only 50 although .. ...
Hi! If you on Server edition you can do it like this: jira-home/jira-config.properties. Add : jira.search.views.max.limit = 1000
Read more >
python - JIRA API returning only 50 issues
It happens that you can set maxResults for your request. The default value is 50. jira_object.search_issues('project name', maxResults=100) ...
Read more >
"We limit the quantity that may be listed each week for this ...
I have a $225,000 monthly selling limit as well as a 500 item/month limit, both of which I don't get anywhere near to....
Read more >
SP2013 - 50 item limit on search results
I am using a search result web part and it will only return a maximum of 50 items per page. There is no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found