MCPcopy
hub / github.com/apache/devlake / SetAllFields

Method SetAllFields

backend/plugins/tapd/models/bug.go:170–180  ·  view source on GitHub ↗
(raw json.RawMessage)

Source from the content-addressed store, hash-verified

168}
169
170func (i *TapdBug) SetAllFields(raw json.RawMessage) error {
171 var bugBody struct {
172 Bug map[string]interface{}
173 }
174 err := json.Unmarshal(raw, &bugBody)
175 if err != nil {
176 return err
177 }
178 i.AllFields = bugBody.Bug
179 return nil
180}

Callers 3

ExtractStoriesFunction · 0.45
ExtractTasksFunction · 0.45
ExtractBugsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected