Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




GetPagedFilteredIssues not returning any results

api

Hi,

I've been using GetFilteredIssues and now i want to change to GetPagedFilteredIssues. Tried using the same filter i've been using earlier but it doesn't return and results.

Is there any other field i have to specify in the filter ?

Thanks, Riz

riz
· 1
riz
Replies (4)
helpful
0
not helpful

Can you please post some example code?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I've used a similar code to the example i got from your website,

IssuesFilterEN filter = new IssuesFilterEN(); filter.ProjectID = txtProjects; // Project ID's separated by '|' filter.IssueResolutions = ddlFilter.SelectedValue+"|"; filter.ExcludeClosed = true; PagedIssuesResultBag pageIssue = _currentManager.IssuesService.GetPagedFilteredIssues(filter, 1, 20, false); // This gives 0 results

tempIssues.AddRange(_currentManager.IssuesService.GetFilteredIssues(filter)); // This gives 455 results as expectes


riz
· 1
riz
helpful
0
not helpful

You need to set the UserID of the filter:
filter.UserID = _currentManager.IssuesService.WhoAmI().UserID;


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thanks,

Works fine.


riz
· 1
riz