jira

package
v0.80.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (c *Config) GetJiraFields() []string

GetJiraFields extracts all JIRA field names from the field mappings for more efficient API calls

func (*Config) Validate

func (c *Config) Validate() error

Validate validates the JIRA configuration.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL