Conversation
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
|
@copilot We should come up with a way e.g. tag-prefix which allows editing of work items with only tags in the list. |
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Done in 8045891. Added safe-outputs:
update-work-item:
title: true
tag-prefix: "agent-" # only update work items that have a tag starting with "agent-"When both Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Adds an
update-work-itemsafe output tool for modifying existing ADO work items, with fine-grained front matter controls mirroring theupdate-issuepattern from GitHub Agentic Workflows.Configuration
Each updatable field must be explicitly opted-in. All default to
false/disabled:Key design decisions
targetaccepts"*"(any ID) or an integer (lock to one item) — rejects at execution time if the agent-supplied ID doesn't matchtitle-prefixissues a GET before the PATCH to verify the current title; rejected if it doesn't matchtag-prefixissues a GET before the PATCH to verify the current tags; rejected if no tag starts with the prefix. ADO tags are semicolon-separated and each is trimmed before comparisontitle-prefixandtag-prefixare configured, a single GET is issued and both checks are applied before the PATCHmaxis enforced as a pre-pass inexecute_safe_outputsbefore any entries execute, so a violation aborts the whole batch rather than partially executingfailureresult (not an error) with a clear message pointing to the missing config keyWRITE_REQUIRING_SAFE_OUTPUTS— compilation fails if nopermissions.writeservice connection is configuredAgent parameters
idu64titleOption<String>bodyOption<String>multilineFieldsFormatstateOption<String>"Active","Resolved"work_item_typeOption<String>"Bug","Task"area_pathOption<String>iteration_pathOption<String>assigneeOption<String>tagsOption<Vec<String>>At least one field must be non-null; validation enforced at Stage 1 (MCP) and sanitization runs at both Stage 1 and Stage 2.
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.