You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to create a ticket with a custom field set as drop-down, but I cannot figure out how to do it.
string fieldName = "Version"; // this field can have value 9, 10, 11
long id = 333; // the field id
string myVersion = "11"; // the value I want to set
// attempt1
CustomField cfVersion = new CustomField()
{
Id = id,
Value = myVersion
};
// attempt2
CustomField cfVersion = new CustomField()
{
Id = id,
Value = new CustomFieldOptions()
{
Id = id,
Name = fieldName,
Value = myVersion
}
};
What am I missing?
The text was updated successfully, but these errors were encountered:
Hello,
I need to create a ticket with a custom field set as drop-down, but I cannot figure out how to do it.
What am I missing?
The text was updated successfully, but these errors were encountered: