-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Agents
-
None
SUMMARY:
The Rovo Azure DevOps "Create work item" action accepts only five parameters:
projectId, organization, itemType, summary and description. Azure DevOps projects
that enforce a required custom field therefore reject every creation attempt with
"TF401320: Rule Error for field <name>" (HTTP 400, retryable=false). There is no
parameter through which the required value can be supplied, so the action cannot
be used at all against these projects — regardless of how the request is phrased.
CURRENT BEHAVIOUR:
The create-work-item action exposes exactly five inputs:
{ "projectId": "...", "organization": "...", "itemType": "...", "summary": "...", "description": "..." }
When the target project has work item rules marking any additional field as
required, Azure DevOps returns:
TF401320: Rule Error for field <Field Name>.
Error code: Required, HasValues, LimitedToValues, InvalidEmpty.
One additional error occurred during validation of the work item.
statusCode=400, errorType=DOWNSTREAM_INVALID_INPUT,
errorCategory=CLIENT, retryable=false
Because the required field has no corresponding parameter, the call is
structurally impossible to satisfy. Retrying produces a byte-identical request
and a byte-identical failure.
Fields that an agent can correctly identify but cannot transmit include both
project-defined custom fields and standard Azure DevOps system fields such as
System.AreaPath and System.Tags.
SUGGESTION:
Accept an arbitrary field map on the create action, keyed by Azure DevOps Rovo Agent azure devops atlassian workspace create work item Tool/Plugin on
reference name:
"fields":
{ "Custom.ServiceLine": "Health", "System.AreaPath": "Project\\Area\\Sub", "System.Tags": "defect; support" } This mirrors the Azure DevOps REST API, which already accepts arbitrary
fields via JSON Patch, so no new downstream capability is required.
- mentioned in
-
Page Loading...
- resolves
-
PCS-3872356 Loading...