agentleFS
softwareone-platformsoftwareone-platform/mpt-extension-skills/skills/mpt-ext-task-move-jira-to-qa/SKILL.md

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.

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
  1. Distinctive:

    Read repository-specific docs when they exist, because they may extend or override shared guidance.

    line 46
  2. Very specific:

    Read shared docs only when the repository explicitly points to them.

    line 47
  3. Distinctive:

    Read the Jira issue first.

    line 49
  4. Very specific:

    Use mpt-ext-tool-jira-workitem-ops to fetch the current issue state.

    line 50
  5. Distinctive:

    If merge state is unclear from the current workflow context, ask the user before moving the issue.

    line 55
  6. Distinctive:

    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.

    line 56
  7. Distinctive:

    Follow repository-specific Jira workflow or post-merge handoff docs when they define the target status explicitly.

    line 59
  8. Very specific:

    If the Jira issue is a subtask, default the target status to Done.

    line 60
  9. Distinctive:

    If the issue is already in the resolved post-merge target status, preserve the current state rather than rewriting it unnecessarily.

    line 62
  10. Very specific:

    Use mpt-ext-tool-jira-workitem-ops to move the Jira issue to the resolved target status when it is not already there.

    line 65
  11. Distinctive:

    If the resolved target status is not allowed by the actual Jira workflow, stop and report the blocker instead of guessing another status …

    line 66
  12. Distinctive:

    Never move the issue to a post-merge status before the relevant PR is merged.

    line 76
  13. Distinctive:

    Never assume merge completion when the workflow context is ambiguous.

    line 77
  14. Very specific:

    Never hard-code QA for subtasks when their workflow should end in Done.

    line 78
  15. Distinctive:

    Never rewrite already-correct Jira state without need.

    line 79
  16. Distinctive:

    Never mix merge execution, PR comment handling, or branch operations into this task.

    line 80

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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}/current

Assumptions

  • 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

  1. Build repository context first.
  • Read the target repository AGENTS.md once 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}/current when available; otherwise read them from the main branch of the shared GitHub repository.
  1. Read the Jira issue first.
  • Use mpt-ext-tool-jira-workitem-ops to fetch the current issue state.
  • Confirm the issue exists and identify its current workflow status and issue type.
  1. 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.
  1. 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.
  1. Transition the issue to the resolved post-merge status.
  • Use mpt-ext-tool-jira-workitem-ops to 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.
  1. 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 QA for subtasks when their workflow should end in Done.
  • 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.