When creating an issue through API - how do I specify the component ?
I cant figure out how to specify the component when creating the issue.
I expected to find something like [issueEN].IssueComponent - the same way I use [issueEN].IssueSeverity to specify the severity and [issueEN].IssuePriority to specify the priority.
I have tried [issueEN].ComponentID but thats read-only.
Any helpers out there :-)
Kind regards Morten
note : Found This http://support.countersoft.com/forums/thread/13466.aspx - explaining how to do it
see example below: List components = new List(); IssueComponentEN component = new IssueComponentEN(); component.ComponentID = ComponentID ; component.IssueID = ni.IssueID; components.Add(component); ni.Components = components.ToArray();
Modist
· 1 |
|
Sunday, July 4, 2010, 9:10:01 AM |