| 449 | } |
| 450 | |
| 451 | func AppendImplementationNote(fieldsJSON string, note ItemImplementationNote) (string, error) { |
| 452 | fieldsMap, err := parseMutableItemFields(fieldsJSON) |
| 453 | if err != nil { |
| 454 | return "", err |
| 455 | } |
| 456 | |
| 457 | notes := ExtractItemImplementationNotes(fieldsJSON) |
| 458 | notes = append(notes, note) |
| 459 | fieldsMap[ItemFieldImplementationNotes] = notes |
| 460 | return marshalItemFields(fieldsMap) |
| 461 | } |
| 462 | |
| 463 | func AppendDecisionLogEntry(fieldsJSON string, entry ItemDecisionLogEntry) (string, error) { |
| 464 | fieldsMap, err := parseMutableItemFields(fieldsJSON) |