mpt-ext-task-move-jira-to-qa
Skill3 starsChanged 4 months agoApache-2.0View on GitHub
Only transition one issue's Jira status to its correct post-merge state (QA or Done) after merge. Resolves the target from issue and repo context; usually called by the complete-after-merge workflow.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/mpt-extension-skills.mdcCursor rule
- mpt-ext-task-apply-dashboard-jira-decisionSkill
- mpt-ext-task-commit-changesSkill
- mpt-ext-task-create-initial-epicSkill
- mpt-ext-task-create-work-branchSkill
- mpt-ext-task-dependabot-pr-policy-fixSkill
- mpt-ext-task-ensure-active-sprintSkill
- mpt-ext-task-fix-pre-commit-failuresSkill
- mpt-ext-task-fix-repository-check-failuresSkill
- mpt-ext-task-handle-pr-commentsSkill
- mpt-ext-task-move-jira-to-code-reviewSkill
- mpt-ext-task-notify-pr-ready-in-teamsSkill
- mpt-ext-task-open-pull-requestSkill
- mpt-ext-task-run-repository-checksSkill
- mpt-ext-task-start-jira-workSkill
- mpt-ext-task-update-docs-from-changesSkill
- mpt-ext-task-write-documentationSkill
- mpt-ext-task-write-python-unittestsSkill
- mpt-ext-tool-gh-pr-opsSkill
- mpt-ext-tool-git-branch-opsSkill
- mpt-ext-tool-jira-workitem-opsSkill
- mpt-ext-tool-teams-send-messageSkill
- mpt-ext-workflow-address-review-feedbackSkill
- mpt-ext-workflow-complete-after-mergeSkill
- mpt-ext-workflow-dashboard-failure-triageSkill
- mpt-ext-workflow-decompose-tdrSkill
- mpt-ext-workflow-fix-dependabot-prsSkill
- mpt-ext-workflow-hotfix-backportSkill
- mpt-ext-workflow-notify-pr-readySkill
- mpt-ext-workflow-send-to-reviewSkill
- mpt-ext-workflow-skill-authoringSkill
- mpt-ext-workflow-start-workSkill
- mpt-ext-workflow-update-documentationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 46
Read repository-specific docs when they exist, because they may extend or override shared guidance.
- Very specific: line 47
Read shared docs only when the repository explicitly points to them.
- Distinctive: line 49
Read the Jira issue first.
- Very specific: line 50
Use mpt-ext-tool-jira-workitem-ops to fetch the current issue state.
- Distinctive: line 55
If merge state is unclear from the current workflow context, ask the user before moving the issue.
- Distinctive: line 56
If the work is still under review or not yet merged, stop and explain that the issue should not move to a post-merge status yet.
- Distinctive: line 59
Follow repository-specific Jira workflow or post-merge handoff docs when they define the target status explicitly.
- Very specific: line 60
If the Jira issue is a subtask, default the target status to Done.
- Distinctive: line 62
If the issue is already in the resolved post-merge target status, preserve the current state rather than rewriting it unnecessarily.
- Very specific: line 65
Use mpt-ext-tool-jira-workitem-ops to move the Jira issue to the resolved target status when it is not already there.
- Distinctive: line 66
If the resolved target status is not allowed by the actual Jira workflow, stop and report the blocker instead of guessing another status …
- Distinctive: line 76
Never move the issue to a post-merge status before the relevant PR is merged.
- Distinctive: line 77
Never assume merge completion when the workflow context is ambiguous.
- Very specific: line 78
Never hard-code QA for subtasks when their workflow should end in Done.
- Distinctive: line 79
Never rewrite already-correct Jira state without need.
- Distinctive: line 80
Never mix merge execution, PR comment handling, or branch operations into this task.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Move Jira After Merge
Purpose
Move a Jira issue into the correct post-merge Jira status after the reviewed pull request has been merged.
Use When
- The user wants to complete the development flow after merge.
- The task requires transitioning a Jira issue from review-complete state to its post-merge Jira status.
- The pull request has already been merged or the user explicitly confirms the work is in post-merge state.
Do Not Use When
- The task is to start work and move Jira issues to
In Progress. - The task is to hand work over for review and move the issue to
Code Review. - The task is to create or update a pull request.
- The task is to process PR review comments.
Inputs
- Jira issue key.
- Confirmation that the relevant pull request was already merged.
- Optional repository-specific post-merge target status when local docs define one explicitly.
- Installed shared package root when shared package guidance is needed:
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/currentAssumptions
- Jira authentication is available and the target issue can be read and transitioned through
mpt-ext-tool-jira-workitem-ops. - The repository workflow exposes a usable transition into the correct post-merge status for the issue type.
- The corresponding pull request has been merged, or the user explicitly confirms the work is in post-merge state.
Workflow
- Build repository context first.
- Read the target repository
AGENTS.mdonce per session. If you already loaded it earlier in this session and still have its full contents, reuse them instead of re-reading; if the context was summarized or you are unsure it is complete, read it again. Do not pre-load shared docs in this step; read them lazily only when the repository points to them. - Read repository-specific docs when they exist, because they may extend or override shared guidance.
- Read shared docs only when the repository explicitly points to them. Resolve those shared docs from
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/currentwhen available; otherwise read them from themainbranch of the shared GitHub repository.
- Read the Jira issue first.
- Use
mpt-ext-tool-jira-workitem-opsto fetch the current issue state. - Confirm the issue exists and identify its current workflow status and issue type.
- Verify post-merge readiness.
- Confirm the relevant pull request was already merged.
- If merge state is unclear from the current workflow context, ask the user before moving the issue.
- If the work is still under review or not yet merged, stop and explain that the issue should not move to a post-merge status yet.
- Resolve the target post-merge status.
- Follow repository-specific Jira workflow or post-merge handoff docs when they define the target status explicitly.
- If the Jira issue is a subtask, default the target status to
Done. - Otherwise default the target status to
QA. - If the issue is already in the resolved post-merge target status, preserve the current state rather than rewriting it unnecessarily.
- Transition the issue to the resolved post-merge status.
- Use
mpt-ext-tool-jira-workitem-opsto move the Jira issue to the resolved target status when it is not already there. - If the resolved target status is not allowed by the actual Jira workflow, stop and report the blocker instead of guessing another status silently.
- Report the result clearly.
- State which post-merge target status was selected.
- State whether the issue moved to that status.
- State whether the issue was already in that status.
- Show blockers clearly when Jira workflow rules, permissions, or missing merge confirmation prevent completion.
Guardrails
- Never move the issue to a post-merge status before the relevant PR is merged.
- Never assume merge completion when the workflow context is ambiguous.
- Never hard-code
QAfor subtasks when their workflow should end inDone. - Never rewrite already-correct Jira state without need.
- Never mix merge execution, PR comment handling, or branch operations into this task.
Expected Outcome
The Jira issue is in the correct post-merge status once the reviewed work is merged, or the task stops with a clear blocker that explains why the issue should not move yet.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

