Documentation
¶
Index ¶
Constants ¶
View Source
const MaxIssueTypeLength = 7
View Source
const MaxStatusNameLength = 14
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertedQuery ¶ added in v0.47.0
type ConvertedQuery struct {
Query string `json:"query"`
ConvertedQuery string `json:"convertedQuery"`
UserMessages []UserMessage `json:"userMessages"`
}
ConvertedQuery represents a single converted JQL query
type Issue ¶
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 ¶
type IssueFields struct {
Summary string `json:"summary"`
IssueType *IssueType `json:"issuetype"`
IssueStatus *IssueStatus `json:"status"`
}
type IssueStatus ¶
type JQLConversionRequest ¶ added in v0.47.0
type JQLConversionRequest struct {
QueryStrings []string `json:"queryStrings"`
}
JQLConversionRequest represents the request body for the JQL conversion API
type JQLConversionResponse ¶ added in v0.47.0
type JQLConversionResponse struct {
QueryStrings []ConvertedQuery `json:"queryStrings"`
}
JQLConversionResponse represents the response from the JQL conversion API
type SearchResult ¶
type UserIDCache ¶ added in v0.47.0
UserIDCache represent a cached username to account ID mapping
type UserIDCacheMap ¶ added in v0.47.0
type UserIDCacheMap struct {
// contains filtered or unexported fields
}
UserIDCacheMap holds the cache with thread safety
func (*UserIDCacheMap) Clear ¶ added in v0.47.0
func (c *UserIDCacheMap) Clear()
Clear removes all expired entries from the cache
type UserMessage ¶ added in v0.47.0
type UserMessage struct {
MessageKey string `json:"messageKey"`
MessageArgs map[string]string `json:"messageArgs"`
}
UserMessage represents messages about the conversion
type Widget ¶
type Widget struct {
view.ScrollableWidget
// contains filtered or unexported fields
}
func (*Widget) ConvertJQLWithUsername ¶ added in v0.47.0
ConvertJQLWithUsername converts a JQL query containing username to account ID
Click to show internal directories.
Click to hide internal directories.