You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ce9e432
Browse filesBrowse the repository at this point in the historyBrowse files
"description": "GitHub/GitLab destination repository path (org/repo) or Jira destination project key (e.g. PROJ). The consumer must still verify that the target is allowed and movable.",
"description": "Destination for the move action. target is org/repo for GitHub/GitLab or a Jira project key (e.g. OTHERPROJ). Platform-specific validation (same-owner, issue type compatibility) is handled by the consumer, not the schema.",
Copy file name to clipboardExpand all lines: scripts/validate-output-schema-test.sh
+57-1Lines changed: 57 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,18 @@ run_test "valid-split" \
106
106
'{"action":"split","reasoning":"issue bundles independent concerns","sub_issues":[{"title":"Fix crash on save","body":"The save handler crashes when input is empty."},{"title":"Update error messages","body":"Error messages are outdated."}],"comment":"Splitting into independent sub-issues."}' \
107
107
"true"
108
108
109
+
run_test "valid-move-without-evidence" \
110
+
'{"action":"move","reasoning":"the affected code is maintained elsewhere","move_to":{"target":"org/other-repo"},"comment":"Moving this issue to the repository that owns the affected code."}' \
111
+
"true"
112
+
113
+
run_test "valid-move-with-evidence" \
114
+
'{"action":"move","reasoning":"the affected code is maintained elsewhere","move_to":{"target":"org/other-repo","evidence":["The affected package lives in org/other-repo."]},"comment":"Moving this issue to the repository that owns the affected code."}' \
115
+
"true"
116
+
117
+
run_test "valid-move-jira-project-key" \
118
+
'{"action":"move","reasoning":"the issue belongs to another Jira project","move_to":{"target":"OTHERPROJ"},"comment":"Moving this issue to the owning Jira project."}' \
119
+
"true"
120
+
109
121
# --- Jira tracker shapes ---
110
122
# duplicate_of is an integer on GitHub/GitLab but a full issue key on Jira.
0 commit comments