Skip to content

[agent-issue]: Port gh-aw's set-issue-type safe output to ado-aw (native GitHub Issue Types) #1621

Description

@JamesBurnside

Submission requirements

  • I generated this issue with an agent that used .github/agents/ado-aw.agent.md.
  • I reviewed the generated issue and confirm it is being filed directly in githubnext/ado-aw.

Problem summary

ado-aw has no supported way to set a native GitHub Issue Type (e.g. Bug / Feature / Task) on issues it files. The upstream gh-aw project exposes a first-class safe-outputs.set-issue-type (set or clear the issue type, max: 5) plus set-issue-field, but ado-aw (v0.45.1) has neither, and create-issue accepts only target-repo, title-prefix, labels, allowed-labels, assignees, max.

Impact: organizations that use native GitHub Issue Types as first-class work-item types cannot have agent-filed issues classified by type. Labels are not a substitute — Issue Types are a distinct, org-level field used for triage, filtering, and reporting. This is a parity gap with gh-aw.

Reproduction details

Environment: ado-aw 0.45.1 (Windows x64), Copilot engine, target: standalone.

1) set-issue-type safe output is not recognized:

ado-aw-debug:
  set-issue-type:
    type: Bug
  create-issue:
    target-repo: owner/repo
    max: 1

ado-aw compile

Error: Failed to parse YAML front matter
Caused by:
    unknown field `set-issue-type`, expected `skip-integrity` or `create-issue`

2) A type: / issue-type: field on create-issue is also rejected:

ado-aw-debug:
  create-issue:
    target-repo: owner/repo
    issue-type: Bug

ado-aw compile

unknown field `issue-type`, expected one of `target-repo`, `title-prefix`, `labels`, `allowed-labels`, `assignees`, `max`

Observed: no supported path to set a native Issue Type from an ado-aw workflow.
Expected: parity with gh-aw's set-issue-type (and ideally set-issue-field).

Workaround currently in use: file the issue with a routing label only, then a downstream pipeline stage mints a GitHub App installation token and calls PATCH /repos/{owner}/{repo}/issues/{number} with { "type": "Bug" }. This works but requires bespoke wiring outside the safe-output model, and the type is set after the injection-scanned create rather than as part of it.

Proposed next step

Port gh-aw's set-issue-type safe output to ado-aw (and ideally set-issue-field), and/or accept an optional type: on create-issue. Suggested area: safe-output handlers + front-matter schema for the GitHub-issue outputs. Reference: gh-aw docs — reference/safe-outputs/#set-issue-type-set-issue-type.


Posted by Copilot CLI assistant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions