mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
33 lines
727 B
Go
33 lines
727 B
Go
package jira
|
|
|
|
type Issue struct {
|
|
Expand string `json:"expand"`
|
|
ID string `json:"id"`
|
|
Self string `json:"self"`
|
|
Key string `json:"key"`
|
|
|
|
IssueFields *IssueFields `json:"fields"`
|
|
}
|
|
|
|
type IssueFields struct {
|
|
Summary string `json:"summary"`
|
|
|
|
IssueType *IssueType `json:"issuetype"`
|
|
IssueStatus *IssueStatus `json:"status"`
|
|
}
|
|
|
|
type IssueType struct {
|
|
Self string `json:"self"`
|
|
ID string `json:"id"`
|
|
Description string `json:"description"`
|
|
IconURL string `json:"iconUrl"`
|
|
Name string `json:"name"`
|
|
Subtask bool `json:"subtask"`
|
|
}
|
|
|
|
type IssueStatus struct {
|
|
ISelf string `json:"self"`
|
|
IDescription string `json:"description"`
|
|
IName string `json:"name"`
|
|
}
|