Logo di Jira Workitem Search

Jira Workitem Search

Organizzazione
opendatahub-io
jira-workitem-search

Cerca ticket Jira usando query JQL. Fornisce modelli di query comuni e formati di output flessibili. Usala quando l’utente deve trovare o filtrare ticket.

Panoramica

Pubblicato daopendatahub-io
Repositoryai-helpers
Nome della skilljira-workitem-search
Stelle
39
Fork
76
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da opendatahub-io su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Jira Workitem Search in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-jira/skills/jira-workitem-search
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-jira/skills/jira-workitem-search .claude/skills/jira-workitem-search
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Jira Workitem Search in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Jira Workitem Search non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Jira Workitem Search non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Jira Workitem Search

Search for Jira tickets using JQL (Jira Query Language) queries with the acli CLI.

Prerequisites

  • acli must be installed and authenticated (acli jira auth)

Implementation

Step 1: Verify ACLi Setup

Before proceeding, verify that acli is installed and authenticated by invoking the acli-setup-check skill:

/acli-setup-check

If the setup check fails, stop execution and guide the user to fix the issue.

Step 2: Determine JQL Query

  1. Direct JQL: If the user provides a JQL query, use it as-is
  2. Natural Language: Convert user's natural language request to JQL using templates below. Extract project names, statuses, components, and other values from the user's request and substitute them into the templates.
  3. Interactive: If unclear, ask the user what they want to find
Input Validation

Before substituting user-provided values into JQL templates, validate and sanitize the inputs:

  1. Project keys: Validate against pattern [A-Z]+ (e.g., RHAI, PROJ).
  2. Status values: Quote multi-word statuses (e.g., "In Progress", "Code Review"). Common statuses: To Do, In Progress, Code Review, Done, Blocked.
  3. Ticket keys: Validate against pattern [A-Z]+-[0-9]+ (e.g., RHAI-1234).
  4. Numeric values: Validate that N in -<N>d is a positive integer.
  5. Issue types: Whitelist common types: Bug, Story, Epic, Feature, Spike, Initiative, Task.
  6. Components: Quote multi-word components (e.g., "Wheel Package Index").

If validation fails, prompt the user with a clear error message explaining the expected format.

Common JQL Templates

Replace placeholders like <PROJECT>, <STATUS>, <COMPONENT> with actual values from the user's request or conversation context.

My open tickets:

jql
assignee = currentUser() AND resolution = Unresolved ORDER BY updated DESC

Team backlog for a project:

jql
project = <PROJECT> AND status != Done ORDER BY priority DESC, updated DESC

Example: project = RHAI AND status != Done ORDER BY priority DESC, updated DESC

Recent updates in a project (last N days):

jql
project = <PROJECT> AND updatedDate >= -<N>d ORDER BY updated DESC

Example: project = RHAI AND updatedDate >= -7d ORDER BY updated DESC

Tickets by status:

jql
project = <PROJECT> AND status = "<STATUS>" ORDER BY updated DESC

Example: project = RHAI AND status = "In Progress" ORDER BY updated DESC

Tickets by type (single):

jql
project = <PROJECT> AND type = <TYPE> ORDER BY updated DESC

Example: project = RHAI AND type = Feature ORDER BY updated DESC

Tickets by type (multiple):

jql
project = <PROJECT> AND type IN (<TYPE1>, <TYPE2>, ...) ORDER BY updated DESC

Example: project = RHAI AND type IN (Feature, Initiative) ORDER BY updated DESC

Blocked tickets:

jql
project = <PROJECT> AND status = Blocked ORDER BY priority DESC

Tickets due soon (next 7 days):

jql
project = <PROJECT> AND dueDate >= now() AND dueDate <= endOfWeek() AND resolution = Unresolved ORDER BY dueDate ASC

Tickets by component:

jql
project = <PROJECT> AND component = "<COMPONENT>" ORDER BY priority DESC

Example: project = RHAI AND component = "Wheel Package Index" ORDER BY priority DESC

Epics and their children:

jql
project = <PROJECT> AND type = Epic ORDER BY created DESC

Unassigned tickets:

jql
project = <PROJECT> AND assignee is EMPTY AND resolution = Unresolved ORDER BY priority DESC

Tickets mentioned in conversation: Search conversation history for ticket keys, then query:

jql
key IN (<KEY1>, <KEY2>, ...) ORDER BY updated DESC

Example: key IN (RHAI-1234, RHAI-5678, RHAI-910) ORDER BY updated DESC

Tips for extracting values:

  • If user says "RHAI backlog", use project = RHAI
  • If user says "in progress tickets", use status = "In Progress"
  • If user says "last week", use updatedDate >= -7d
  • If user says "Wheel Package Index component", use component = "Wheel Package Index"
  • If user says "features", use type = Feature
  • If user says "features and initiatives", use type IN (Feature, Initiative)
  • Common ticket types: Bug, Story, Epic, Feature, Spike, Initiative, Task
  • If no project specified, ask the user or search conversation context for project references

Step 3: Execute Search

Build the JQL query from validated inputs and execute the search:

bash
# Validate and sanitize inputs extracted from user request
PROJECT="<project-from-step-2>"
if [[ ! "$PROJECT" =~ ^[A-Z]+$ ]]; then
  echo "Error: Invalid project key format. Expected uppercase letters only (e.g., RHAI, PROJ)"
  exit 1
fi

# For status values with spaces, add quotes
STATUS="<status-from-step-2>"
if [[ "$STATUS" == *" "* ]]; then
  STATUS="\"$STATUS\""
fi

# Build JQL query using validated variables
JQL_QUERY="project = $PROJECT AND status = $STATUS ORDER BY updated DESC"

# Execute search with validated JQL query
acli jira workitem search \
  --jql "$JQL_QUERY" \
  --fields key,summary,status,assignee,updated,priority \
  --limit 50 \
  --json

Note: The example above shows validation for a simple project + status query. Adapt the validation pattern based on the actual JQL template used (see Step 2 templates). Always validate inputs against expected patterns before building JQL.

Field Options:

  • key: Issue key (always include)
  • summary: Issue title (always include)
  • status: Current status (always include)
  • assignee: Assignee name (recommended)
  • updated: Last update date (recommended)
  • priority: Priority level (optional)
  • created: Creation date (optional)
  • duedate: Due date (optional)
  • labels: Labels (optional)
  • components: Components (optional)

Pagination:

  • Use --limit N to control number of results (default: 50, max: 100)
  • Use --paginate to fetch all results across multiple pages

Step 4: Parse and Format Results

Parse the JSON output and format as a table:

Found 15 tickets matching: project = RHAI AND status = "In Progress"

KEY          STATUS        ASSIGNEE      UPDATED     SUMMARY
─────────────────────────────────────────────────────────────────────
RHAI-1234   In Progress   code-samurai      2024-03-20  Fix duplicate CI runs
RHAI-5678   In Progress   super-picky-reviewer    2024-03-19  Add wheel signing support
RHAI-910    In Progress   Unassigned    2024-03-18  Update documentation
...

For smaller result sets (< 10 tickets), show more detail:

=== 3 tickets found ===

1. RHAI-1234: Fix duplicate CI pipeline runs
   Status: In Progress → Code Review
   Assignee: code-samurai
   Priority: High
   Updated: 2024-03-20
   https://redhat.atlassian.net/browse/RHAI-1234

2. RHAI-5678: Add wheel signing support
   Status: In Progress
   Assignee: super-picky-reviewer
   Priority: Medium
   Updated: 2024-03-19
   https://redhat.atlassian.net/browse/RHAI-5678

3. RHAI-910: Update documentation for new API
   Status: In Progress
   Assignee: Unassigned
   Priority: Low
   Updated: 2024-03-18
   https://redhat.atlassian.net/browse/RHAI-910

Step 5: Offer Export Options

After displaying results, offer to:

  1. Export to CSV: Save results to a file for spreadsheet analysis
  2. View specific ticket: Jump to detailed view using jira-workitem-view skill
  3. Refine search: Modify the JQL query to narrow or broaden results

CSV Export:

bash
# Use the same validated JQL_QUERY from Step 3
TEMP_CSV=$(mktemp -t jira-search-results.XXXXXX.csv)
acli jira workitem search \
  --jql "$JQL_QUERY" \
  --fields key,summary,status,assignee,updated,priority \
  --csv > "$TEMP_CSV"
echo "Results exported to: $TEMP_CSV"

Step 6: Store Ticket Keys for Bulk Operations

Extract the list of ticket keys from results and store them for potential bulk operations:

Ticket keys: RHAI-1234, RHAI-5678, RHAI-910

Use these keys with other skills for bulk operations.

Advanced Features

Combining Multiple Criteria

jql
project = RHAI
  AND status IN ("To Do", "In Progress")
  AND assignee = currentUser()
  AND priority IN (High, Highest)
  ORDER BY priority DESC, updated DESC

Using Functions

  • currentUser(): Current authenticated user
  • now(): Current date/time
  • startOfWeek(), endOfWeek(): Week boundaries
  • startOfMonth(), endOfMonth(): Month boundaries

Text Search

jql
project = RHAI AND text ~ "wheel building" ORDER BY updated DESC

Custom Fields

For RHAI's status-reporting fields:

jql
project = RHAI AND "Color Status" = Red ORDER BY updated DESC

Error Handling

  • acli not found: Delegate to acli-setup-check skill
  • Authentication failure: Delegate to acli-setup-check skill
  • Invalid JQL syntax: Display error and suggest correcting the query
  • No results found: Inform user and suggest broadening the search
  • Permission denied: User may not have access to queried projects
  • Field not found: Verify field name exists in the project schema

Examples

My Open Tickets

text
User: /jira-workitem-search Show my open tickets
Assistant: [Searches with: assignee = currentUser() AND resolution = Unresolved]
Found 5 open tickets assigned to you:
[Displays results in table format]

Project Backlog

text
User: What's in the RHAI backlog?
Assistant: [Searches with: project = RHAI AND status != Done]
Found 47 tickets in the RHAI backlog
[Displays results with pagination]

Recent Activity

text
User: What tickets were updated in the last week?
Assistant: [Searches with: updatedDate >= -7d]
Found 23 tickets updated in the last 7 days
[Displays results ordered by update time]

Export to CSV

text
User: Export all RHAI bugs to CSV
Assistant: [Searches and exports]
Exported 156 tickets to /tmp/jira-search-results.csv

Refine Search

text
User: /jira-workitem-search project = RHAI AND status = "In Progress"
Assistant: [Shows 15 results]
User: Only show high priority ones
Assistant: [Refines to: project = RHAI AND status = "In Progress" AND priority = High]
Found 3 high-priority tickets in progress
[Displays refined results]

Domande frequenti

Cosa fa la skill IA Jira Workitem Search?

Cerca ticket Jira usando query JQL. Fornisce modelli di query comuni e formati di output flessibili. Usala quando l’utente deve trovare o filtrare ticket.

Perché usare Jira Workitem Search su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Jira Workitem Search è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Jira Workitem Search in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-jira/skills/jira-workitem-search. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Jira Workitem Search?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Jira Workitem Search?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Jira Workitem Search: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Jira Workitem Search è gratuita?

Sì. È pubblicata su GitHub da opendatahub-io con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇