Recherche de ticket Jira

VérifiéPrudence

Recherche un ticket Jira par sa clé et affiche son résumé, son statut, son responsable, sa priorité et un lien direct. Utile pour obtenir rapidement les informations essentielles d'un ticket sans quitter l'IDE.

Spar Skills Guide Bot
DeveloppementDébutant
7002/06/2026
Claude Code
#jira#issue-lookup#project-management

Recommandé pour

Notre avis

Recherche un ticket Jira par sa clé et affiche ses détails (résumé, statut, assigné, priorité, lien).

Points forts

  • Rapide consultation d'un ticket sans quitter le terminal
  • Utilise des variables d'environnement pour l'authentification sécurisée
  • Intègre la récupération des champs essentiels (assigné, priorité)

Limites

  • Nécessite la configuration d'une URL de base et des jetons Jira
  • Ne supporte que l'API REST v3 de Jira
  • Aucune mise en cache ou gestion d'erreur avancée
Quand l'utiliser

Lorsque vous avez besoin d'obtenir rapidement les informations clés d'un ticket Jira mentionné dans une conversation ou un code.

Quand l'éviter

Pour des opérations complexes comme la création, la modification ou la recherche avancée de tickets Jira.

Analyse de sécurité

Prudence
Score qualité85/100

The skill uses bash/curl with environment variables for authentication, performing legitimate Jira API queries. However, the command-line exposure of secrets and dependency on the integrity of the config file introduce moderate risk.

Points d'attention
  • Credentials passed via command line with curl -u, which may be exposed in process listings or system logs.
  • Relies on config.yaml for baseUrl; if that config is tampered with, credentials could be sent to an attacker-controlled server.

Exemples

Look up a bug ticket
Look up Jira issue PROJ-123
Check a feature status
What's the status of PROJ-456?

name: jira-lookup description: Look up a Jira issue by key. Shows summary, status, assignee, priority, and link. user-invocable: true arguments: "<JIRA-KEY> (e.g. PROJ-123)"

Jira Issue Lookup

Look up a Jira issue using the REST API and display its details.

Steps

  1. Read config.yaml to get features.jira.baseUrl. If not set, ask the user.
  2. Use $JIRA_EMAIL and $JIRA_TOKEN environment variables for authentication.
  3. Fetch the issue via:
    curl -s -u "$JIRA_EMAIL:$JIRA_TOKEN" \
      -H "Accept: application/json" \
      "${BASE_URL}/rest/api/3/issue/${JIRA_KEY}?fields=summary,status,assignee,priority"
    
  4. Display the results:
    • Key: PROJ-123
    • Summary: Issue title
    • Status: In Progress
    • Assignee: Name (or Unassigned)
    • Priority: Medium
    • Link: https://company.atlassian.net/browse/PROJ-123

Error Handling

  • If the issue is not found (404), report "Issue not found".
  • If authentication fails (401/403), report "Authentication failed — check JIRA_EMAIL and JIRA_TOKEN env vars".
  • If baseUrl is not configured, report "Jira base URL not configured — set features.jira.baseUrl in config.yaml".
Skills similaires