statuscat

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 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

Overview

Package statuscat is the single owner of the status-category contract: the three tokens data-model.md documents (new | inprogress | done), their mapping from Jira's REST statusCategory keys, and the reverse.

The table is deliberately not part of internal/jira (GDK-686): the JQL dialect keys on these tokens and its package doc promises it does not talk to Jira, so owning the vocabulary in the REST client made the parser link net/http (same reason jirafields was split from fields for the store firewall, docs/ARCHITECTURE.md:79). Stdlib only — nothing here may grow a dependency. Never key on status display names: they are localized per account ("진행 중"). The web mirrors this fold in web/src/lib/status-category.ts (GDK-2042 — one front-end table behind the filter, the grouper and the phone, for saved-view status_category axes and raw transition keys); this package stays the single owner, and the web takes the same unknown-key answer ("new") as Category.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Category

func Category(key string) string

Category maps Jira's statusCategory key onto the three values data-model.md documents. An unknown key becomes "new", which can only ever miss a reopen, never invent one.

func CategoryKey

func CategoryKey(token string) string

CategoryKey is the reverse of Category: a gadak token (or a Jira key Category would accept) onto Jira's REST statusCategory key. inprogress becomes indeterminate, the key Cloud actually stores.

func KnownCategory

func KnownCategory(key string) (string, bool)

KnownCategory maps a Jira statusCategory key or a gadak token onto the three values data-model.md documents. Unlike Category, unknown keys are not folded to "new": write resolvers refuse those so a damaged payload cannot move an issue.

Types

This section is empty.

Jump to

Keyboard shortcuts

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