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

Error displayed with extension "Child Click Links" Azure DevOps #93

Open
Divya-EP opened this issue Sep 24, 2022 · 1 comment
Open

Error displayed with extension "Child Click Links" Azure DevOps #93

Divya-EP opened this issue Sep 24, 2022 · 1 comment

Comments

@Divya-EP
Copy link

Hi,

I am using Azure DevOps and I want few tasks to be created automatically, when I add a new user story with a tag “Backend”.

Steps to reproduce

  1. I’ve created a custom process called CDI Agile and added a project under this process.
  2. Under Project Settings -> Team Configuration -> Templates
  3. I’ve added a new template for task “Unit Testing” with description
    { “applywhen”: [ { “System.Tags” : “Backend”, “System.WorkItemType”: “User Story” } ] }
    Such that when a new user story is created and we add a tag “Backend”, it should automatically create a child task “Unit Testing”
  4. I’ve downloaded the “Click Child Links” extension.
  5. When I create a new user story and provide a tag called “Backend” and when I open the user story, when I click on options -> Click child links, I am getting an error.

This is the error message that I am currently getting with Click Child Links.

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, LimitedToValues, InvalidEmpty.”,“FieldStatusCode”:0,“RuleValidationErrors”:[{“fieldReferenceName”:“Microsoft.VSTS.Common.Activity”,“fieldStatusFlags”:“required, hasValues, limitedToValues, invalidEmpty”,“errorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“fieldStatusCode”:524301,“ruleValidationErrors”:null}]},“innerException”:null,“message”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“typeName”:“Microsoft.TeamFoundation.WorkItemTracking.Server.RuleValidationException, Microsoft.TeamFoundation.WorkItemTracking.Server”,“typeKey”:“RuleValidationException”,“errorCode”:0,“eventId”:3200}“,“serverError”:{”$id":“1”,“customProperties”:{“FieldReferenceName”:null,“FieldStatusFlags”:“none”,“ErrorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“FieldStatusCode”:0,“RuleValidationErrors”:[{“fieldReferenceName”:“Microsoft.VSTS.Common.Activity”,“fieldStatusFlags”:“required, hasValues, limitedToValues, invalidEmpty”,“errorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“fieldStatusCode”:524301,“ruleValidationErrors”:null}]},“innerException”:null,“message”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“typeName”:“Microsoft.TeamFoundation.WorkItemTracking.Server.RuleValidationException, Microsoft.TeamFoundation.WorkItemTracking.Server”,“typeKey”:“RuleValidationException”,“errorCode”:0,“eventId”:3200},“jqXHR”:{“readyState”:4,“responseText”:“{”$id":“1”,“customProperties”:{“FieldReferenceName”:null,“FieldStatusFlags”:“none”,“ErrorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“FieldStatusCode”:0,“RuleValidationErrors”:[{“fieldReferenceName”:“Microsoft.VSTS.Common.Activity”,“fieldStatusFlags”:“required, hasValues, limitedToValues, invalidEmpty”,“errorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“fieldStatusCode”:524301,“ruleValidationErrors”:null}]},“innerException”:null,“message”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“typeName”:“Microsoft.TeamFoundation.WorkItemTracking.Server.RuleValidationException, Microsoft.TeamFoundation.WorkItemTracking.Server”,“typeKey”:“RuleValidationException”,“errorCode”:0,“eventId”:3200}“,“responseJSON”:{”$id":“1”,“customProperties”:{“FieldReferenceName”:null,“FieldStatusFlags”:“none”,“ErrorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“FieldStatusCode”:0,“RuleValidationErrors”:[{“fieldReferenceName”:“Microsoft.VSTS.Common.Activity”,“fieldStatusFlags”:“required, hasValues, limitedToValues, invalidEmpty”,“errorMessage”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“fieldStatusCode”:524301,“ruleValidationErrors”:null}]},“innerException”:null,“message”:“TF401320: Rule Error for field Activity. Error code: Required, HasValues, LimitedToValues, InvalidEmpty.”,“typeName”:“Microsoft.TeamFoundation.WorkItemTracking.Server.RuleValidationException, Microsoft.TeamFoundation.WorkItemTracking.Server”,“typeKey”:“RuleValidationException”,“errorCode”:0,“eventId”:3200},“status”:400,“statusText”:“error”}}

Please find a resolution for this.

Regards,
Divya

@Divya-EP
Copy link
Author

Hi,

Any solution for the above-mentioned issue?

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