Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddJiraIssue ¶
添加jira问题单
func AddJiraRemark ¶
AddJiraRemark 添加jira问题备注
Types ¶
type FieldOption ¶
type JiraBug ¶
type JiraBug struct { Project map[string]string `json:"project"` // 项目 IssueType map[string]string `json:"issuetype"` // 问题类型 Summary string `json:"summary"` // 主题 Description string `json:"description"` // 描述 VersionType map[string]string `json:"customfield_17101,omitempty"` // 版本类型 Areas map[string]string `json:"customfield_17302"` // 领域 Components []map[string]interface{} `json:"components"` // 模块 Versions []map[string]interface{} `json:"versions"` // 影响版本 Level map[string]string `json:"customfield_15121"` // 严重程度 RecurRate map[string]string `json:"customfield_17400"` // 重现概率 Occurdate string `json:"customfield_17200"` // 发生时间 }
Field中的属性值
type JiraBugController ¶
type JiraBugController struct {
common.BaseController
}
JiraBugController operations for JiraBug
func (*JiraBugController) GetProject ¶
func (c *JiraBugController) GetProject()
从jira上获取项目信息 @router /v1/jira/project/:id [get]
func (*JiraBugController) GetProjectAttrs ¶
func (c *JiraBugController) GetProjectAttrs()
获得field可选属性 @router /v1/jira/project/field/:id/option [get]
func (*JiraBugController) GetProjects ¶
func (c *JiraBugController) GetProjects()
从jira上获取项目列表 @router /v1/jira/project [get]
func (*JiraBugController) JiraKeyIsExist ¶
func (c *JiraBugController) JiraKeyIsExist()
判断JiraKey是否存在 @router /v1/jira/keyexist [get]
Click to show internal directories.
Click to hide internal directories.