Aller au contenu
Skillpedia
Tâches et projets6.1k · #14430

jira-cli

Ce qu’il fait

Cette compétence enseigne à l'IA comment utiliser l'outil en ligne de commande jira pour gérer les tickets et les données de projet Jira. Elle s'adresse aux personnes qui gèrent leurs tâches dans Jira et veulent confier le travail courant à leur IA.

Quand l’utiliser

  • ✓Quand vous voulez retrouver des tickets Jira correspondant à un filtre, comme vos tickets ouverts.
  • ✓Quand vous devez créer un nouveau ticket Jira ou modifier des champs d'un ticket existant.
  • ✓Quand vous voulez les données Jira dans un format propre pour un rapport ou un résumé.

Lien du skill

https://github.com/ankitpokhrel/jira-cli/blob/main/skills/jira-cli/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/ankitpokhrel/jira-cli/blob/main/skills/jira-cli/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Trouve tous les tickets Jira ouverts qui me sont assignés et liste leurs titres et leur statut.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent utilise l'aide intégrée de l'outil pour trouver les bonnes commandes, puis lit les données Jira dans un format simple et facile à traiter.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Jira CLI

Use this skill when operating Jira through the jira command. Start with jira --help, then inspect the relevant command and subcommand help (for example, jira issue list --help) before using them. The installed CLI's help is the source of truth for its available commands, flags, and syntax; it also contains command-specific examples. This skill adds agent-oriented safety guidance and useful workflow patterns that may not be obvious from the flags.

Prefer machine-readable output

List commands are interactive by default. When reading data programmatically, prefer an output format intended for parsing:

# JSON
jira issue list --raw

# Plain text, optionally selecting fields and omitting headers
jira issue list --plain --columns key,summary --no-headers

# CSV
jira issue list --csv

Use --raw when supported and JSON is needed. Otherwise, use --plain with --columns and --no-headers to minimize parsing ambiguity.

Configuration and fields

The default configuration file is:

$XDG_CONFIG_HOME/.jira/.config.yml

When XDG_CONFIG_HOME is unset, it is:

~/.config/.jira/.config.yml

The configuration file can be used as a data source. It contains the configured project, issue types, and custom field definitions. In particular, inspect issue.types and issue.fields.custom before constructing create, edit, or --custom commands.

Use --config/-c or JIRA_CONFIG_FILE to select another configuration file.

This metadata is created during jira init and, over time, can become out of sync with Jira. Refreshing the configuration with jira init changes local configuration. NEVER do it without obtaining explicit confirmation first.

For custom fields, use --custom key=value. The key is derived from the configured field name in lowercase with words separated by hyphens (for example, Story Points becomes story-points). The expected value format depends on the field type; array values are comma-separated. Only use fields present in the configuration, and inspect their schema rather than guessing the format.

Do not guess a field name, ID, allowed value, or issue type when it is missing or inconsistent. Instead, use another authorized source of truth, such as the Jira UI or API. Some error messages contain relevant data; for instance, when jira issue move fails due to an invalid transition state, it lists available states in the error output. If everything fails, ask the user.

Useful JQL patterns

Use jira issue list --jql (-q) when the built-in filters are insufficient. For example, raw JQL can search across multiple projects, use a saved filter, or approximate a backlog query:

# Issues in either project
jira issue list -q "project IN (PRJ1, PRJ2)"

# Issues matching a saved Jira filter
jira issue list -q "filter='my saved filter'"

# Backlog-style issues (adapt statuses and issue types to the project workflow)
jira issue list -s~Done -q "sprint is empty and issuetype not in (Epic, Sub-task)" --order-by rank --reverse

When the JQL itself contains a project condition, it takes precedence over --project (-p); do not expect -p to further restrict that query.

Safe execution

  • NEVER expose JIRA_API_TOKEN or config credentials; --debug may print auth headers.
  • ALWAYS confirm destructive actions and externally visible changes the user did not explicitly request.
  • Read an issue before updating it when its current state matters. Verify consequential or uncertain updates.
  • Use jira <command> [<subcommand>] --help for flags, requirements, and examples. Supply explicit arguments and use --no-input when supported.
  • Cache useful discoveries for the session.
Questions fréquentes

Faut-il avoir installé l'outil jira ?

Oui, la compétence exécute la commande jira, qui doit donc être installée et configurée au préalable.

Peut-elle modifier les tickets et pas seulement les lire ?

Oui, la compétence couvre la création et la mise à jour de tickets, pas seulement la recherche.

Où trouve-t-elle mes réglages Jira ?

Elle lit un fichier de configuration dans votre dossier de configuration qui indique votre projet et vos champs personnalisés.

Détails

Description originale de l’auteur

Use Jira-CLI to search, inspect, create, or update Jira issues and related project data. Covers machine-readable output, configuration metadata, command discovery, and safe execution.

repo: ankitpokhrel/jira-cli

Popularité

Étoiles GitHub
6.1k
Position au classement
#14430
Licence
MIT
Mis à jour
17/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires