diff options
author | Özgür Kesim <oec@codeblau.de> | 2024-01-14 19:58:19 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2024-01-14 19:58:37 +0100 |
commit | 0a751aa7223bb7d1e800ad81827afb653de89fdd (patch) | |
tree | 407a1f2035527a3984cc79fc8d675cec9cd8d90b /issues.go | |
parent | 694de94c0b87578cddae45710fab981993a4acf6 (diff) |
show children of specification features
Diffstat (limited to 'issues.go')
-rw-r--r-- | issues.go | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -49,10 +49,19 @@ type Issue struct { UpdatedAt time.Time `json:"updated_at"` Notes []Note Relationships []Relationship + Children []Child `json:"-"` Tags []KeyVal History []Change } +type Child struct { + Id uint32 + Summary string + Status KeyVal + Resolution KeyVal + Handler KeyVal +} + type KeyVal struct { Id uint32 Name string @@ -79,13 +88,7 @@ type Attachment struct { type Relationship struct { Id uint32 Typ KeyVal `json:"type"` - Issue struct { - Id uint32 - Summary string - Status KeyVal - Resolution KeyVal - Handler KeyVal - } + Issue Child } type Change struct { |