filter.SystemFilter = IssuesFilterEN.SystemFilterTypes.LateIssues logic
What is the logic behind LateIssue filter.
I was assuming if the due date of the issue < today LateIssue would be true.
Alas that does not seem to be the complete story.
srb
· 1 |
|
Wednesday, September 26, 2007, 10:29:10 PM |
0
|
That should be the case. What is your "complete" story? |
||||
|
0
|
From Gemini issues not due date of Sept 20,2007 (today is the 27September). Would seem to meet the criteria of LateIssue. Excel Print Friendly Print Friendly (Full) Gantt Issue Type ID Priority Component Summary Assigned To Status Resolution Revised Votes Reporter Due Date TEST-40 study Silly Issue 1 Steven Burns In Progress Unresolved 14/09/2007 0 2 20/09/2007 Edit In your Web sample setting //filter.ShowTimings = (bool) Session["ISSUE_SHOWTMGS"]; filter.SystemFilter = IssuesFilterEN.SystemFilterTypes.LateIssues ; The project id for Test is 2 per below from you sample webservices: Byte[] Array Single 4 N test email TEST 4 Test Project 0 steve 2 Single False NoChange False N 2 8/3/2007 One then would expect to see an entry for Project 2 from your webservice sample but what I get blank screen when using issues wse. I will get content from other projects with the fileter set to NoType. |
||||
|
0
|
Seems to work fine for us. Did you change the project to "look" at? filter.ProjectID = numProjectID.Value.ToString() + "|"; |
||||
|
0
|
This is your sample web service thingy. The Only change I made was to "filter.SystemFilter = IssuesFilterEN.SystemFilterTypes.LateIssues ;" ============== see below ============================ // Get all the users. // Note that this might throw a security exception. IssuesFilterEN filter=new IssuesFilterEN(); filter.SavedFromProjectID=(int)numProjectID.Value; filter.ProjectID = numProjectID.Value.ToString() + "|"; filter.UserID = msmProxyManager.UserID; filter.Resources= "0|"; filter.Components = "0|"; //filter.CustomFieldID = (int)cboFilterCustomFields.SelectedValue; filter.ExcludeClosed = true; filter.IssuePriorities = "0|"; filter.IssueResolutions = "0|"; filter.IssueStatus = "0|"; filter.IssueTypes = "0|"; filter.RiskLevels = "0|"; //filter.SearchComments = chkFilterCheckComments.Checked; filter.SearchKeywords = ""; //filter.ShowTimings = (bool) Session["ISSUESHOWTMGS"]; filter.SystemFilter = IssuesFilterEN.SystemFilterTypes.LateIssues ; filter.Versions = "-1|"; filter.IssueID = ""; //filter.SortField = (string) Session["ISSUESORTORDER"]; //filter.SortOrder = ((string) Session["ISSUESORTDIR"]) == "ASC" ? 1:2; filter.ReportedByUserName = ""; filter.CreatedAfter = ""; filter.CreatedBefore = ""; filter.RevisedAfter = ""; filter.RevisedBefore = ""; |
||||
|
0
|
Yes, and that by default will only look at project id of 1
|
||||
|
0
|
Hmmm .... So where is the secret squirrel book that enumerates these settings? I would be appreciative of you pointing me to them so I don't waste the ether with my blather. [:)] |
||||
|
0
|
As per the earlier post: filter.ProjectID = numProjectID.Value.ToString() + "|"; This is were you set which project ids to "look" at (delimited by a pipe - |). |
||||
|
0
|
heh heh heh Let me admit to my amature status in visual studio, webservices, aspnet, C# (I prefer VB but oh well) and I appologize for not being clear. I was hopeful for a pointer to a glossary or definition on the whole ball of wax for services not just Filters. I know the asmx provides a brief description and type. I know your sample code extends that so some of this is code commentatry and some web service. I am looking for the interactions and behaviors. Something like: Filter.ProjectID boolean delimited by pipe "|" determines the subset of the domain of projectId's. All Filter.xxxxx parapaters are ANDed to determine the set retuned. Ok so I figured that out, but I forgot to tell you that I am lazy... hmmm let me restate that. I am a PM so I have to manage my time better than the next guy and I need quick jumps, like something you would give to someone who brain is mildly compromised. Say save me a whole lotta time and create a sample that sends email to assinged resources that is within a settable range of being due (due date). Even better and a custom field that says if it is mailable (some things you just don't need an email nag on). This is usefull to ping all staff prior to a team meeting and allowing them to embarrase themselfs by not having something done. I made something like this using Coldfusion a while back and I can tell you it saves time and agravation. It would certainly enhance your product and YES I did put it in the requested features. |
||||
|