In Azure Dev Ops, in defining a customised process I have created a work item 'change request' for which I have defined a number of states, two of which are 'code review' and 'test'. The 'change request' work item will progress from 'code review' to 'test' but I would like to create a rule which only allows the 'change request' work item to move from 'code review' to 'test' if there is a 'code review' work item linked to the 'change request' work item. I have looked at creating a rule for the work item but cannot see a way to do this from the drop down options available. Has anyone been able to do something like this?
TIA
In rules for the 'code review' work item I have considered the options for when a work item state is moved from code review to test but there are no options I can see which check the linked work items apart from external/internal link count which is not specific enough.