hi,
I am using Atlassian SDK to create issue. I have a problem setting a value for a custom field. It always ends with this error :
"customfield_15870":"Invalid format. Expected an array of objects with either an Option ID or an existing value."
I use something like this to set the custom field value
string name = "my_field_name";
string value = "my_field_value";
issue.CustomFields.Add( name, value);
I also tried to create the value like this:
string value = $"{{\"value\":\"{value}\"}}";string value = $"{{\"id\":\"{value_id}\"}}";but nothing helped. I also tried to use the issue.CustomFields.AddArray method , but it also failed.
This problem only occurs with one particular custom field. There is no problem with the others.
Thanks for any advice.