create-jira-bug
Implementation guide for creating well-formed Jira bug reports in SRVKP project
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Implementation guide for creating well-formed Jira bug reports in SRVKP project
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Implementation guide for creating Jira epics with proper scope and parent linking in SRVKP project
Implementation guide for creating Jira features that organize multiple epics into strategic initiatives for SRVKP project
Implementation guide for creating well-formed Jira user stories with acceptance criteria in SRVKP project
Implementation guide for creating Jira tasks for technical and operational work in SRVKP project
Create and manage Jira issues (bugs, epics, stories, tasks) for SRVKP project with intelligent routing and project-specific conventions
| name | Create Jira Bug |
| description | Implementation guide for creating well-formed Jira bug reports in SRVKP project |
This skill provides implementation guidance for creating well-structured Jira bug reports with complete reproduction steps and clear problem descriptions for the SRVKP project.
This skill is automatically invoked by the /jira:create bug command to guide the bug creation process.
acli installed and authenticatedShared conventions (safety rules, component table, confirmation flow, MCP→CLI fallback):
→ Read and follow ../_common.md before proceeding.
CLI reference: ../reference/cli-fallback.md
This skill is exclusively for SRVKP (OpenShift Pipelines project).
Component auto-suggestion keywords and the full component list are in ../_common.md.
A good bug report contains:
The summary should:
Good examples:
Bad examples:
Use this template structure for consistency:
Description of problem:
<Clear, detailed description of the issue>
Version-Release number of selected component (if applicable):
<e.g., 4.21.0, openshift-client-4.20.5>
How reproducible:
<Always | Sometimes | Rarely>
Steps to Reproduce:
1. <First step - be specific>
2. <Second step>
3. <Third step>
Actual results:
<What actually happens - include error messages>
Expected results:
<What should happen instead>
Additional info:
<Logs, screenshots, stack traces, related issues, workarounds>
When creating a bug, guide the user through each section interactively:
Prompt: "What is the problem? Describe it clearly and in detail."
Tips to share:
Example response:
The kube-apiserver pod crashes immediately after upgrading a hosted control plane cluster from version 4.20 to 4.21. The pod enters CrashLoopBackOff state and all API requests to the cluster fail.
Prompt: "Which version exhibits this issue? (e.g., 4.21.0, 4.20.5)"
Tips:
Format: Use "Pipelines X.XX.X" format (e.g., "Pipelines 1.15.2")
Prompt: "How reproducible is this issue?"
Options:
Use case for each:
Prompt: "What are the exact steps to reproduce this issue? Be as specific as possible."
Guidelines:
Example:
Steps to Reproduce:
1. Create a ROSA HCP cluster on version 4.20.0:
rosa create cluster --name test-cluster --version 4.20.0 --hosted-cp
2. Wait for cluster to be fully ready (about 15 minutes)
3. Initiate upgrade to 4.21.0:
rosa upgrade cluster --cluster test-cluster --version 4.21.0
4. Monitor the control plane pods:
oc get pods -n clusters-test-cluster -w
5. Observe kube-apiserver pod status
Validation:
Prompt: "What actually happens when you follow those steps?"
Guidelines:
Example:
Actual results:
The kube-apiserver pod crashes immediately after the upgrade completes. The pod restarts continuously (CrashLoopBackOff). Error in pod logs:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x...]
API requests to the cluster fail with:
Error from server: error dialing backend: dial tcp: lookup kube-apiserver: no such host
Prompt: "What should happen instead? What is the expected behavior?"
Guidelines:
Example:
Expected results:
The kube-apiserver pod should start successfully after the upgrade. The pod should be in Running state, and API requests to the cluster should succeed normally.
Validation:
Prompt: "Any additional context? (Optional: logs, screenshots, workarounds, related issues)"
Helpful additions:
Example:
Additional info:
- Pipeline definition: 50+ tasks, complex dependencies
- OpenShift version: 4.15
- Full pod logs attached: taskrun-abc123.log
- Related issue: Tekton Pipelines #7890 (similar OOM in different context)
- Workaround: Set resources.requests.memory: 2Gi in TaskRun spec
- Affects: Large repository clones (>2GB)
Analyze the bug description for component hints:
SRVKP uses version fields as follows:
Always use the format: "Pipelines X.XX.X"
Examples:
Before submitting the bug, validate:
mcp__atlassian__jira_create_issue(
project_key="SRVKP",
summary="<bug summary>",
issue_type="Bug",
description="<formatted bug template>",
components="<component name>", # one of the Tekton components
additional_fields={
"versions": [{"name": "Pipelines X.XX.X"}], # affects version
"labels": ["ai-generated-jira"]
}
)
mcp__atlassian__jira_create_issue(
project_key="SRVKP",
summary="TaskRun fails with OOMKilled in git-clone step",
issue_type="Bug",
description="""
h2. Description of problem
TaskRun fails when the git-clone step attempts to clone large repositories. The step container is terminated with OOMKilled status.
h2. Version-Release number
Pipelines 1.15.2
h2. How reproducible
Always
h2. Steps to Reproduce
# Create a Pipeline with git-clone task from Tekton Hub
# Create a PipelineRun targeting a large repository (>2GB)
# Observe the git-clone step execution
# Step fails with OOMKilled after ~30 seconds
h2. Actual results
The git-clone step container is killed by Kubernetes OOM killer with exitCode 137.
h2. Expected results
The git-clone step should complete successfully with sufficient memory allocation.
h2. Additional info
Default memory limit: 512Mi. Large repos require 1-2Gi. Workaround: Set resources.requests.memory: 2Gi in TaskRun.
""",
components="Tekton Pipelines",
additional_fields={
"labels": ["ai-generated-jira"]
}
)
Use Jira's native formatting (Wiki markup).
Scenario: User doesn't provide required fields.
Action:
Example:
Summary is required but not provided. Please provide a brief summary of the bug:
Example: "API server crashes when creating namespaces"
Scenario: Specified version doesn't exist in project.
Action:
mcp__atlassian__jira_get_project_versions to fetch valid versionsExample:
Version "Pipelines 1.15.5" not found for project SRVKP.
Available versions: Pipelines 1.14.0, Pipelines 1.15.2, Pipelines 1.15.4, Pipelines 1.16.0
Did you mean "Pipelines 1.15.4"?
Scenario: Project requires component, but none specified.
Action:
Scenario: Sensitive data detected in bug content.
Action:
Example:
I detected what appears to be an API token in the "Steps to Reproduce" section.
Please replace with a placeholder like "YOUR_API_TOKEN" or "<redacted>" before proceeding.
Scenario: MCP tool returns an error when creating the bug.
Action:
Common errors:
Input:
/jira:create bug "tkn pipeline start command fails with invalid workspace error"
Interactive prompts:
What is the problem? Describe it clearly.
> The tkn CLI pipeline start command fails with "invalid workspace" error when using emptyDir workspace type.
Which version exhibits this issue?
> Pipelines 1.15.2
How reproducible is this issue?
> Always
What are the exact steps to reproduce?
> 1. Install tkn CLI version 0.35.0
> 2. Run: tkn pipeline start my-pipeline --workspace name=source,emptyDir=""
> 3. Observe error message
What actually happens?
> Command fails with error: "invalid workspace: emptyDir type not supported in this context"
> Exit code: 1
What should happen instead?
> The command should successfully create a PipelineRun with emptyDir workspace.
Any additional context?
> Works fine with volumeClaimTemplate. Only affects emptyDir workspace type.
Result:
Input:
/jira:create bug "EventListener webhook returns 500 error on GitHub push events"
Auto-applied:
Interactive prompts:
Result:
Input:
/jira:create bug "Pruner fails to cleanup old TaskRuns" --component "Pruner"
Minimal prompts:
Result:
Input:
/jira:create bug "PipelineRun fails with OOMKilled in git-clone step"
Interactive prompts:
What is the problem? Describe it clearly.
> PipelineRun fails when the git-clone step attempts to clone a large repository (>2GB). The step container is terminated with OOMKilled status.
Which version exhibits this issue?
> Tekton Pipelines v0.56.0
How reproducible is this issue?
> Always (when cloning repositories > 2GB)
What are the exact steps to reproduce?
> 1. Create a Pipeline with git-clone task from Tekton Hub
> 2. Create a PipelineRun targeting a large repository (e.g., github.com/kubernetes/kubernetes)
> 3. Observe the git-clone step execution
> 4. Step fails with OOMKilled after ~30 seconds
What actually happens?
> The git-clone step container is killed by Kubernetes OOM killer.
>
> TaskRun status shows:
> {
> "terminated": {
> "exitCode": 137,
> "reason": "OOMKilled"
> }
> }
>
> Container logs show partial clone progress before termination:
> Cloning into '/workspace/source'...
> remote: Enumerating objects: 1234567, done.
> remote: Counting objects: 100% (1234567/1234567), done.
> [terminated]
What should happen instead?
> The git-clone step should complete successfully with sufficient memory allocation.
> Either:
> - Default memory limits should be increased for git operations
> - Documentation should warn about memory requirements for large repos
> - Users should be able to override memory limits easily
Any additional context?
> - Default memory limit for step containers: 512Mi
> - Large repos require 1-2Gi for git clone operations
> - Workaround: Manually set resources.requests.memory: 2Gi in TaskRun
> - Affects: OpenShift Pipelines 1.14, Tekton Pipelines v0.56.0
> - Related: https://github.com/tektoncd/catalog/issues/xxx
Component Suggestion:
Result:
Follow the Mandatory Confirmation Flow and MCP → CLI Fallback Decision Tree defined
in ../_common.md. The preview label for this type is PREVIEW: SRVKP Bug Report.
acli on fallback/jira:create - Main command that invokes this skill