create-jira-task
Implementation guide for creating Jira tasks for technical and operational work in SRVKP project
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implementation guide for creating Jira tasks for technical and operational work in SRVKP project
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implementation guide for creating well-formed Jira bug reports in SRVKP project
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
Create and manage Jira issues (bugs, epics, stories, tasks) for SRVKP project with intelligent routing and project-specific conventions
| name | Create Jira Task |
| description | Implementation guide for creating Jira tasks for technical and operational work in SRVKP project |
This skill provides implementation guidance for creating Jira tasks, which are used for technical or operational work that doesn't necessarily deliver direct user-facing value, for the SRVKP project.
This skill is automatically invoked by the /jira:create task command to guide the task 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.
Use a Task when the work is:
Examples of tasks:
Use a Story when the work:
If in doubt: Ask "Would an end user notice or care about this change?"
The summary should:
Good examples:
Bad examples:
The description should include:
Example:
Update the autoscaling documentation to reflect changes in the 4.21 release.
Why: The autoscaling API changed in 4.21 with new fields and behavior. Documentation currently reflects 4.20 and will confuse users.
Acceptance Criteria:
- All autoscaling examples updated to use 4.21 API
- New fields documented with descriptions and examples
- Deprecated fields marked as deprecated
- Documentation builds without warnings
Files to update:
- docs/content/how-to/autoscaling.md
- docs/content/reference/api.md
Use this structure for consistency:
<What needs to be done>
h2. Why
<Context, motivation, or reason this is needed>
h2. Acceptance Criteria
* <Criterion 1>
* <Criterion 2>
* <Criterion 3>
h2. Technical Details (optional)
* Files to modify: <list>
* Dependencies: <related issues or work>
* Approach: <suggested implementation approach>
When creating a task, collect necessary information:
Prompt: "What work needs to be done? Be specific about what you'll change or update."
Helpful questions:
Example response:
Refactor the scaling controller to extract common validation logic into a shared utility package. Currently, validation code is duplicated across three controller files.
Prompt: "Why is this task needed? What problem does it solve?"
Helpful questions:
Example response:
Code duplication makes maintenance difficult. When validation logic changes, we have to update it in three places, which is error-prone. Consolidating into a shared utility will make the code easier to maintain and reduce bugs.
Prompt: "How will you know this task is complete? (Optional: skip if obvious)"
For technical tasks, AC might include:
Example response:
- Validation logic extracted to support/validation package
- All three controllers updated to use shared validation
- Existing tests pass
- New unit tests added for validation utility
- Code review approved
Prompt: "Is this task part of a larger story or epic? (Optional)"
If yes:
Prompt: "Any technical details to include? (files to change, dependencies, approach)"
Example response:
Files to modify:
- hypershift/operator/controllers/nodepool/autoscaling.go
- hypershift/operator/controllers/hostedcluster/autoscaling.go
- hypershift/operator/controllers/manifests/autoscaling.go
- hypershift/support/validation/autoscaling.go (new)
Dependencies:
- Must complete after PROJ-100 (validation refactor epic)
Approach:
- Extract common validation functions to support/validation
- Add comprehensive unit tests for new package
- Update controllers to import and use new package
- Remove duplicated code
Before submitting the task, validate:
mcp__atlassian__jira_create_issue(
project_key="<PROJECT_KEY>",
summary="<task summary>",
issue_type="Task",
description="""
<What needs to be done>
h2. Why
<Context and motivation>
h2. Acceptance Criteria
* <Criterion 1>
* <Criterion 2>
h2. Technical Details
<Optional technical details>
""",
components="<component name>", # if required
additional_fields={
# Add project-specific fields
}
)
mcp__atlassian__jira_create_issue(
project_key="SRVKP",
summary="Update Tekton Chains documentation for SLSA v1.0",
issue_type="Task",
description="""
Update the Tekton Chains documentation to reflect the new SLSA v1.0 provenance format introduced in Chains v0.20.
h2. Why
Chains v0.20 introduced breaking changes for SLSA v1.0 support. Current documentation describes v0.2 format which is now deprecated. Users need updated guidance for migration and new features.
h2. Acceptance Criteria
* All SLSA examples updated to v1.0 format
* New attestation fields documented with examples
* Migration guide from v0.2 to v1.0 created
* Breaking changes clearly highlighted
* Verification examples updated for new signature format
* Documentation builds successfully without warnings
h2. Technical Details
Files to update:
* docs/chains/slsa-provenance.md
* docs/chains/attestation-formats.md
* docs/chains/migration-v1.md (new)
* examples/chains/slsa-v1-attestation.yaml
Reference: Chains v0.20 release notes, SLSA v1.0 specification
""",
components="Tekton Chains",
additional_fields={
"labels": ["ai-generated-jira", "documentation"]
}
)
mcp__atlassian__jira_create_issue(
project_key="SRVKP",
summary="Add unit tests for cache key computation",
issue_type="Task",
description="<task content>",
additional_fields={
"parent": {"key": "SRVKP-9000"} # link to story or epic
}
)
Use Jira's native formatting (Wiki markup):
<Brief description of what needs to be done>
h2. Why
<Context, motivation, or problem this solves>
h2. Acceptance Criteria
* <Criterion 1>
* <Criterion 2>
* <Criterion 3>
h2. Technical Details
h3. Files to Modify
* {{path/to/file1.go}}
* {{path/to/file2.go}}
h3. Dependencies
* Must complete after [PROJ-100]
* Requires library X version Y
h3. Approach
<Suggested implementation approach or technical notes>
h2. Additional Context
<Optional: Links to designs, related issues, background>
Use Jira wiki markup in descriptions (for example h2. headings and * lists) as needed.
Scenario: User tries to create a task for user-facing functionality.
Action:
Example:
This sounds like it might deliver user-facing functionality. The summary mentions "users can configure autoscaling".
Should this be a Story instead of a Task?
- Story: For user-facing features (visible to end users)
- Task: For internal/technical work (not visible to end users)
Would you like me to create this as a Story? (yes/no)
Scenario: User provides minimal description without context.
Action:
Example:
The description "Update docs" is a bit brief. Can you provide more detail?
- Which documentation needs updating?
- Why does it need updating? (new features, corrections, clarifications?)
- What specific changes should be made?
Scenario: User specifies --parent but issue doesn't exist.
Action:
Example:
Parent issue PROJ-999 not found.
Options:
1. Proceed without parent link
2. Specify different parent
3. Cancel task creation
What would you like to do?
Scenario: Sensitive data detected in task content.
Action:
Example:
I detected what appears to be an API key in the technical details section.
Please use placeholder values like "YOUR_API_KEY" instead of real credentials.
Scenario: MCP tool returns an error when creating the task.
Action:
Common errors:
Input:
/jira:create task "Update Tekton CLI documentation for new commands"
Interactive prompts:
What work needs to be done?
> Update the tkn CLI documentation to include new commands added in latest release
Why is this task needed?
> New commands were added, docs need updating to reflect current CLI capabilities
How will you know this is complete?
> All new commands documented with examples, no build warnings, reviewed by maintainers
Any technical details?
> Files: docs/cli/commands.md, docs/cli/reference.md
Result:
Input:
/jira:create task "Refactor EventListener validation logic to reduce duplication"
Interactive prompts:
What work needs to be done?
> Extract common validation code from EventListener controller files into shared utility
Why is this needed?
> Code duplication makes maintenance difficult and error-prone
Acceptance criteria?
> - Validation extracted to pkg/validation package
> - All EventListener components use shared validation
> - Tests pass
> - New unit tests for validation utility
Any technical details?
> Files to modify:
> - pkg/reconciler/eventlistener/validate.go
> - pkg/interceptors/validate.go
> New file: pkg/validation/eventlistener.go
Result:
Input:
/jira:create task "Add integration tests for cache key computation" --parent SRVKP-9000
Auto-applied:
Result:
Input:
/jira:create task "Update Tekton Chains documentation for SLSA v1.0 support"
Interactive prompts:
What work needs to be done?
> Update the Tekton Chains documentation to reflect the new SLSA v1.0 provenance format and attestation features introduced in Chains v0.20
Why is this task needed?
> Chains v0.20 introduced breaking changes for SLSA v1.0 support. Current documentation describes v0.2 format which is now deprecated. Users need updated guidance for migration and new features.
How will you know this is complete?
> - All SLSA examples updated to v1.0 format
> - New attestation fields documented with examples
> - Migration guide from v0.2 to v1.0 created
> - Breaking changes clearly highlighted
> - Verification examples updated for new signature format
> - Documentation builds without warnings
> - Reviewed by Chains maintainers
Any technical details?
> Files to update:
> - docs/chains/slsa-provenance.md
> - docs/chains/attestation-formats.md
> - docs/chains/migration-v1.md (new)
> - examples/chains/slsa-v1-attestation.yaml
>
> Key changes:
> - buildType field now uses fully qualified URLs
> - New subject.digest format for multi-platform images
> - materials field replaced with resolvedDependencies
> - New metadata.buildInvocationId field
>
> Reference: Chains v0.20 release notes, SLSA v1.0 specification
Component Suggestion:
Result:
Input:
/jira:create task "Investigate intermittent PipelineRun webhook delivery failures"
Description pattern for investigation tasks:
Investigate intermittent webhook delivery failures causing PipelineRuns not to trigger on GitHub push events.
h2. Why
Users report that PipelineRuns occasionally fail to trigger despite GitHub webhooks being sent successfully. Webhook delivery logs show 5xx errors from EventListener.
h2. Acceptance Criteria
* Root cause identified and documented
* Recommendation provided (fix, workaround, or "no action needed")
* Findings shared with team in investigation summary
h2. Technical Details
Error pattern:
{code}
EventListener returned 503 Service Unavailable
Connection timeout after 10s
{code}
Frequency: ~5% of webhook deliveries
Affected: Pipelines 1.15.x deployments
Logs to review: eventlistener-xxx pods, tekton-triggers-controller
Related issues: GitHub webhook retry behavior
Result:
❌ Vague summaries
"Update stuff"
"Fix things"
✅ Be specific: "Update autoscaling documentation for 4.21 API changes"
❌ User-facing work as tasks
"Add user dashboard feature"
✅ Should be a Story if it delivers user value
❌ Too large
"Refactor entire codebase"
"Update all documentation"
✅ Break into smaller, focused tasks
❌ No context
Summary: "Update docs"
Description: <empty>
✅ Always explain why and what specifically
Follow the Mandatory Confirmation Flow and MCP → CLI Fallback Decision Tree defined
in ../_common.md. The preview label for this type is PREVIEW: SRVKP Task.
acli on fallback/jira:create - Main command that invokes this skillcreate-story skill - For user-facing functionality