CreatePartialIssue with CustomFieldData
I can't create partial issue with filled CustomFieldData. Issue creates but these data aren't in created issue. IssueCustomFieldData property has 0 elements after issue creating. Please,help me with this problem.
Alexandr
· 1 |
|
Wednesday, January 18, 2012, 1:52:38 PM |
0
|
Partial issue will not create custom data, you add the custom fields after creating the issue. |
||||
|
0
|
DELETED. House Rules
|
||||
|
0
|
I created partial issue, then implemented code below but this is doesn't work, I don't have exception. After code has been executed successfully CustomFields array has 0 length(empty). Could you explain, please, where I make mistake? CustomFieldDataEN[] customFieldsData = new CustomFieldDataEN[4]; customFieldsData[0] = new CustomFieldDataEN() { IssueID = issue.IssueID, CustomFieldData = txtConditionsOfAcceptance.Text, State = BaseEN.EntityState.New, CustomFieldID = 4, ProjectID = selctedProjectId, UserID = user.UserID };
|
||||
|
0
|
Can you please check Gemini's system log for errors? |
||||
|
0
|
How can I do this, where can I find this log? |
||||
|
0
|
Administration -> System log |
||||
|
0
|
I can't find where it is... :( Is it on site or I need search in code? |
||||
|
0
|
It is on your Gemini site (you need to be a Gemini admin). |
||||
|
0
|
I have some standard data for CustomField. I have read about Custom Field Lookup Tables. This data should be there. Could you please help me how to get data from this table? |
||||
|
0
|
Sorry not sure I follow, are you trying to get the lookup data or create a custom field data for an issue? |
||||
|
0
|
I have 4 CustomFields. They are already exists. SO I try to fill these fields with data. One of the fields should contain Iteration which can be one of exists values stored somewhere... I want to get values for this field(I think these values in Lookup Tables), put they into drop down list and user will have ability choose one of them. Then (after user have filled all fields) I want create issue, one of issue's fields CustomDataField and I need put data to this field, but data doesn't save. |
||||
|
1
|
You need to call the CustomFieldsService.GetCustomFields() method. This will return the custom fields and their lookup data in the LookupData property. |
||||
|
0
|
I have found data in way you wrote. And how to save selected value in appropriate CustomField? |
||||
|
0
|
Please send an email to support at countersoft dot com with a sample code of what you have so far. |
||||
|
0
|
ok, thanks a lot. |
||||
|