github.com/wtfutil/wtf@v0.43.0/modules/jira/issues.go (about)

     1  package jira
     2  
     3  type Issue struct {
     4  	Expand string `json:"expand"`
     5  	ID     string `json:"id"`
     6  	Self   string `json:"self"`
     7  	Key    string `json:"key"`
     8  
     9  	IssueFields *IssueFields `json:"fields"`
    10  }
    11  
    12  type IssueFields struct {
    13  	Summary string `json:"summary"`
    14  
    15  	IssueType   *IssueType   `json:"issuetype"`
    16  	IssueStatus *IssueStatus `json:"status"`
    17  }
    18  
    19  type IssueType struct {
    20  	Self        string `json:"self"`
    21  	ID          string `json:"id"`
    22  	Description string `json:"description"`
    23  	IconURL     string `json:"iconUrl"`
    24  	Name        string `json:"name"`
    25  	Subtask     bool   `json:"subtask"`
    26  }
    27  
    28  type IssueStatus struct {
    29  	ISelf        string `json:"self"`
    30  	IDescription string `json:"description"`
    31  	IName        string `json:"name"`
    32  }