Agile Central - Validation Error while trying to add a Task to a defect

Document ID : KB000109633
Last Modified Date : 02/08/2018
Show Technical Document Details
While in the Agile Central application, a user is trying to add a task to a defect but is unable to do so. A red flare is returned as follows; Looks like there was a problem. Validation error: Defect.TestCase is an invalid relationship.

User-added image
Other users are receiving the same error, this user has Project administration rights. Other defects in this project did allow the user to add tasks.
The defect in question had one task associated but no test cases.  The defect was parented by a user story which had many test cases associated to the user story.  The user story was cleared as a parent and then tasks were able to be created under the defect. The user story was then re-parented to the defect and tasks were still able to be created.  The user story was over 2 years old and had many test cases associated to it.  It is likely that some of the associations needed to be refreshed or re-established by un-parenting and re-parenting the user story to the defect.