jira cache issuetypes¶
- Usage:
jira cache issuetypes [flags]
Cache and print one Jira metadata resource for the active profile. Use it when completions, agents, or later commands need a local copy of issuetypes.
The command serves a fresh cache entry when present. On a miss, stale entry, or --refresh, it contacts Jira, writes the per-profile cache file, and prints the cached list.
Cache¶
--refresh¶
Force a fetch even when the cache is fresh
--ttl-minutes <N>¶
Freshness window before automatic refresh
Default: 43200
Examples¶
jira cache issuetypes # (1)!
jira cache issuetypes --refresh # (2)!
jira cache issuetypes --output=json # (3)!
- Use the cache if fresh, otherwise fetch from Jira
- Force a re-fetch even when the cache is fresh
- Return the cached list in a parseable shape