1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-01-10 00:28:02 +02:00
go-jira/statuscategory.go

20 lines
645 B
Go
Raw Normal View History

2018-06-25 18:35:15 +02:00
package jira
// StatusCategory represents the category a status belongs to.
// Those categories can be user defined in every JIRA instance.
type StatusCategory struct {
Self string `json:"self" structs:"self"`
ID int `json:"id" structs:"id"`
Name string `json:"name" structs:"name"`
Key string `json:"key" structs:"key"`
ColorName string `json:"colorName" structs:"colorName"`
}
// These constants are the keys of the default JIRA status categories
const (
StatusCategoryComplete = "done"
StatusCategoryInProgress = "indeterminate"
StatusCategoryToDo = "new"
StatusCategoryUndefined = "undefined"
)