A problem about set up feed query maximum entries
Hi All,
I'm new to RTC. I would like to do some feed entity queries using IFeedService. I have tried to change the feed query maximum entities value in jazz/admin concole, but can't save successfully. Got an error below: persistUrl must not be null when persisting changesHide Details I think this problem is caused by i did not specify the com.ibm.team.server.configURL, so I added a vm arguments 'com.ibm.team.server.configURL' in server launch configuration and after that it can save successfully. But the settings seems not work. The number of retrieved feed entities exceeds the maximum value set in server feed settings. How can I set up feed query maximum entities correctly? I use RTC2.0 as development tool. Any suggestions will be appreciated. Thanks in advance! Dan |
4 answers
Hello,
not sure if it's really your use case, but please have a look to: http://www-01.ibm.com/support/docview.wss?rs=3488&uid=swg21409960 Hope it will help. Eric. xiadan a crit : Hi All, |
Hi,
Thanks for sharing and the link is helpful. I set Feed Query Maximum Entries = 10 (default) Running feed without option: https://<host>:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService returns more than 10 entities. if I running feed like this: https://<host>:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?maxResults=20 returns up to 10 entities. It seems if I do not add maxResults param, the Maximun setting will not work. I'm not sure whether it is a defect. Thanks |
Hello,
agree - this might be confusing - hence we technoted this :-) "I set Feed Query Maximum Entries = 10" --> It is the maximum number of entries that can be returned if specified in the feed https://<host>:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService https://<host>:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?maxResults=20 Sounds correct to you? Thanks. Eric. xiadan a crit : Hi, |
Hi Eric,
Yes, that's what I want to express. :wink: Thanks Dan Hello, https://<host>:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService https://<host>:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?maxResults=20 Sounds correct to you? Thanks. Eric. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.