Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create child tasks when Task has a mandatory field rule #135

Open
killer-frog opened this issue Apr 12, 2023 · 0 comments
Open

Can't create child tasks when Task has a mandatory field rule #135

killer-frog opened this issue Apr 12, 2023 · 0 comments

Comments

@killer-frog
Copy link

Our project has a rule that a task must have the field "Activity" Completed. however, it does not seem possible to use the one click extension with this rule in place as we get the following error

Error createWorkItem: {"name":"TFS.WebApi.Exception","status":400,"responseText":"{\"$id\":\"1\",\"customProperties\":{\"FieldReferenceName\":null,\"FieldStatusFlags\":\"none\",\"ErrorMessage\":\"TF401320: Rule Error for field Activity. Error code: Required, HasValues, InvalidEmpty.\",\"FieldStatusCode\":0,\"RuleValidationErrors\":[{\"fieldReferenceName\":\"Microsoft.VSTS.Common.Activity\",\"fieldStatusFlags\":\"required, hasValues, invalidEmpty\",\"errorMessage\":\"TF401320: Rule Error for field Activity. Error code: Required, HasValues, InvalidEmpty.\",\"fieldStatusCode\":524293,\"ruleValidationErrors\":null}]},\"innerException\":null,\"message\":\"TF401320: Rule Error for field Activity. Error code: Required, HasValues, 

Even if we specify this field in the template

image

Is there a work around for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant