You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I’ve created a custom process called CDI Agile and added a project under this process.
Under Project Settings -> Team Configuration -> Templates
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”
I’ve downloaded the “Click Child Links” extension.
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
The text was updated successfully, but these errors were encountered:
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
{ “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”
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
The text was updated successfully, but these errors were encountered: