public void updateIssue(string key, ICollection <JiraField> fields) { #if PLVS_133_WORKAROUND List <object> values = new List <object>(); foreach (var field in fields) { object rfv = createRemoteFieldValueObject(field.Id); setObjectProperty(rfv, "values", field.Values.ToArray()); values.Add(rfv); } service.updateIssue(Token, key, values.ToArray()); #else service.updateIssue(Token, key, fields.Select(field => new RemoteFieldValue { id = field.Id, values = field.Values.ToArray() }).ToArray()); #endif }