Getting an error when trying to create an issue
Hi,
I'm trying to create an issue but it returns the following error
at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response)
at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType)
at CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r)
at CounterSoft.Gemini.WebServices.IssuesService.CreateIssue(IssueEN issue)
Following is the code i'm using,
IssueEN data = new IssueEN();
IssueComponentEN[] iceComps = new IssueComponentEN[1];
iceComps[0] = new IssueComponentEN();
iceComps[0].ComponentID = 1;
data.Components = iceComps;
data.FixedInVersion = 0;
data.IssuePriority = 1;
data.IssueResolution = 1;
data.IssueStatus = 1;
data.IssueType = 4;
data.IssueSeverity = 1;
data.ReportedBy = GeminiSessionManager.geminiUser.UserID;
data.RiskLevel = 1;
data.Visibility = 1;
data.VisibilityMemberType = GeminiConstant.SecurityMemberType.GlobalGroup;
data.ProjectID = int.Parse(ddlProjects.SelectedValue);
data.IssueSummary = txtTitle.Text;
data.IssueLongDesc = reContent.Html;
data.EstimateDays = 0;
data.EstimateHours = 0;
data.EstimateMinutes = 0;
data = GeminiSessionManager.geminiManager.IssuesService.CreateIssue(data);
I had an issue earlier where i couldn't do any submit to gemini but this was fixed by adding PUT and DELETE in the ashx verbs. But creating an issue didn't get solved.
Thanks,
Riz
|
riz
· 1 |
|
| Thursday, June 17, 2010, 6:13:26 AM | |




