This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/main by this push:
     new c8c7b4e0f docs(skills): resolve Dependabot tickets via Jira transition 
id (#1985)
c8c7b4e0f is described below

commit c8c7b4e0f6f45827d5590ec921919e2e5fd882cf
Author: Lukasz Lenart <[email protected]>
AuthorDate: Fri Oct 2 08:07:56 2026 +0200

    docs(skills): resolve Dependabot tickets via Jira transition id (#1985)
    
    * docs(skills): close Dependabot tickets manually in Jira
    
    The Jira MCP cannot transition an Open WW ticket to Closed and there is
    no transition tool, so step 5 of merging-dependabot-prs now hands the
    ticket over for manual closing as Fixed (first seen on WW-5755).
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    
    * docs(skills): resolve Dependabot tickets via transition id 5
    
    Replaces the manual hand-over from the previous commit: the Jira MCP can
    transition the ticket when given the transition id rather than a status
    or transition name. Verified on WW-5755.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .claude/skills/merging-dependabot-prs/SKILL.md | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/.claude/skills/merging-dependabot-prs/SKILL.md 
b/.claude/skills/merging-dependabot-prs/SKILL.md
index 7d5cce453..07fbf1d99 100644
--- a/.claude/skills/merging-dependabot-prs/SKILL.md
+++ b/.claude/skills/merging-dependabot-prs/SKILL.md
@@ -144,14 +144,15 @@ gh pr merge <N> --squash --subject "build(deps): WW-XXXX 
bump org.htmlunit:htmlu
 Without an explicit `--subject`, GitHub takes the subject from Dependabot's 
*commit*
 headline and the ticket ID is silently lost from git history.
 
-**5. Close the ticket as Fixed** — only after *every* PR on the ticket has 
merged:
+**5. Resolve the ticket as Fixed** — only after *every* PR on the ticket has 
merged:
 
 ```json
-{"issue_key": "WW-XXXX", "fields": "{\"status\": \"Closed\"}", 
"return_fields": "status"}
+{"issue_key": "WW-XXXX", "fields": "{\"status\": \"5\", \"resolution\": 
{\"name\": \"Fixed\"}}", "return_fields": "status,resolution"}
 ```
 
-The Jira MCP always resolves as *Fixed* and silently swallows any other 
resolution name —
-which is what is wanted here.
+`"5"` is the id of the *Resolve Issue* transition. The status name 
(`"Resolved"`, `"Closed"`)
+and the transition name (`"Resolve Issue"`) all fail with "Could not find 
transition"; only
+the id works. Verified on WW-5755.
 
 ## One dependency, two branches, one ticket
 
@@ -163,8 +164,8 @@ gh pr list --state open --author app/dependabot --json 
number,title,baseRefName
 ```
 
 If a twin exists, create **one** ticket, put it in both PR titles/bodies, and 
list **both**
-fix versions on it (WW-5649 carries 6.11.0 and 7.3.0 for PRs #1760 and #1763). 
Close it once
-both have merged.
+fix versions on it (WW-5649 carries 6.11.0 and 7.3.0 for PRs #1760 and #1763). 
Resolve it
+once both have merged.
 
 ## Scope of this skill
 

Reply via email to