Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Connection JiraConnectionConfig `mapstructure:"connection" yaml:"connection"`
FieldMaps map[string]FieldMapping `mapstructure:"field_maps" yaml:"field_maps"`
}
Config represents the JIRA configuration for a domain
func (*Config) GetJiraFields ¶
GetJiraFields extracts all JIRA field names from the field mappings for more efficient API calls
type FieldMapping ¶
type FieldMapping struct {
JiraField string `mapstructure:"jira_field" yaml:"jira_field"` // e.g., "customfield_10001"
}
FieldMapping defines how a JIRA field maps to a config field
type JiraConnectionConfig ¶
type JiraConnectionConfig struct {
BaseURL string `mapstructure:"base_url" yaml:"base_url"`
Project string `mapstructure:"project" yaml:"project"`
Username string `mapstructure:"username" yaml:"username,omitempty"`
}
JiraConnectionConfig contains JIRA connection details
Click to show internal directories.
Click to hide internal directories.