Bug report
Describe the bug
The built-in set-issue-field safe-output silently skips all field updates with the message:
No issue fields were discovered for this repository. Verify issue fields are enabled and visible to this token.
The repository has issue fields configured and accessible via the GraphQL API (issueFields connection returns results). The agent correctly calls set_issue_field with valid field names and values, but the safe-outputs handler in the safe_outputs job step fails to discover them.
Steps to reproduce
- Configure a workflow with
set-issue-field: max: 4 in safe-outputs
- Repository has issue fields enabled (e.g. Priority, Visibility, Impact, Effort)
- Permissions set to
read-all (write permissions are rejected by strict mode)
- Agent calls
set_issue_field with valid payloads during execution
- Safe-outputs processing step skips all calls
Observed behavior
From the workflow run logs:
safe_outputs | Process Safe Outputs | ⏭ Message 2 (set_issue_field) skipped — No issue fields were discovered for this repository. Verify issue fields are enabled and visible to this token.
safe_outputs | Process Safe Outputs | ⏭ Message 3 (set_issue_field) skipped — No issue fields were discovered for this repository. Verify issue fields are enabled and visible to this token.
safe_outputs | Process Safe Outputs | ⏭ Message 4 (set_issue_field) skipped — No issue fields were discovered for this repository. Verify issue fields are enabled and visible to this token.
safe_outputs | Process Safe Outputs | ⏭ Message 5 (set_issue_field) skipped — No issue fields were discovered for this repository. Verify issue fields are enabled and visible to this token.
The agent's MCP calls were valid:
{"field_name":"Priority","issue_number":"174","value":"P2"}
{"field_name":"Visibility","issue_number":"174","value":"High"}
{"field_name":"Impact","issue_number":"174","value":"Low"}
{"field_name":"Effort","issue_number":"174","value":"Low"}
Expected behavior
The safe-outputs handler should discover the repository's issue fields and apply the values. The fields are confirmed accessible via GraphQL:
{ repository(owner:"github", name:"plan-track-agentic-toolkit") {
issueFields(first:20) { nodes { ... on IssueFieldSingleSelect { name options { name } } } }
}}
Returns: Priority (P0-P4), Visibility (High/Medium/Low), Impact (High/Medium/Low), Effort (High/Medium/Low).
Environment
Workaround
Using a custom jobs safe-output that directly PATCHes the Issues REST API with the fields payload works correctly. Only the built-in set-issue-field handler fails to discover fields.
Bug report
Describe the bug
The built-in
set-issue-fieldsafe-output silently skips all field updates with the message:The repository has issue fields configured and accessible via the GraphQL API (
issueFieldsconnection returns results). The agent correctly callsset_issue_fieldwith valid field names and values, but the safe-outputs handler in thesafe_outputsjob step fails to discover them.Steps to reproduce
set-issue-field: max: 4in safe-outputsread-all(write permissions are rejected by strict mode)set_issue_fieldwith valid payloads during executionObserved behavior
From the workflow run logs:
The agent's MCP calls were valid:
{"field_name":"Priority","issue_number":"174","value":"P2"} {"field_name":"Visibility","issue_number":"174","value":"High"} {"field_name":"Impact","issue_number":"174","value":"Low"} {"field_name":"Effort","issue_number":"174","value":"Low"}Expected behavior
The safe-outputs handler should discover the repository's issue fields and apply the values. The fields are confirmed accessible via GraphQL:
{ repository(owner:"github", name:"plan-track-agentic-toolkit") { issueFields(first:20) { nodes { ... on IssueFieldSingleSelect { name options { name } } } } }}Returns: Priority (P0-P4), Visibility (High/Medium/Low), Impact (High/Medium/Low), Effort (High/Medium/Low).
Environment
read-all[issues, labels]Workaround
Using a custom
jobssafe-output that directly PATCHes the Issues REST API with the fields payload works correctly. Only the built-inset-issue-fieldhandler fails to discover fields.