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.




Getting all issues related to a project

api

Hi,

Im currently looking in to a strange bug i have with http://geminimailmachine.codeplex.com/

I used to get all open issues related to a project by doing the code below - se also http://geminimailmachine.codeplex.com/SourceControl/changeset/view/48188#588199

            foreach (ProjectEN project in projects)
            {
                IssuesFilterEN issueFilter = new IssuesFilterEN();
                issueFilter.ProjectID = project.ProjectID.ToString();
                issueFilter.ExcludeClosed = true;
                issues = issueService.GetFilteredIssues(issueFilter);

But suddenly there are no issues returned - and I can figure out why.

Any advice/suggestions are much appreciated :-)

Modist
· 1
Modist
Replies (3)
helpful
0
not helpful

You need to set the user id of the filter:

issuesFilter.UserID = xxx;


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thnx - but Im not sure what you mean ?

I want all the issues for a specific project - not just isssues assigned to or created by a specific user.

Kind regards Morten


Modist
· 1
Modist
helpful
0
not helpful

The user id property of the filter is for the user context who is executing it (eg visibility etc...) issue resources is for assignment filtering.


Mark Wing
· 9108
Mark Wing