Customizing the Scrum process in Azure DevOps to enforce specific rules, like preventing certain state transitions based on user roles or field values, can be challenging because Azure DevOps provides limited inbuilt customization options for process rules. However, there are some strategies you can employ to achieve similar functionality:
Process Customization:
While Azure DevOps allows for some process customizations, such as adding or modifying work item types, fields, and states, it doesn't natively support complex conditional logic based on user roles directly within the state transition rules. You can check if there are any updates or extensions that might offer more advanced process customization options.
Azure DevOps Services Hooks:
Use service hooks or webhooks to integrate with external services. You can set up a service hook that triggers on work item updates and then use an external service (like a custom web application or Azure Functions) to check the conditions you want to enforce (like the "Developed_By" field). If the condition is not met, you can revert the change or notify the responsible parties to take appropriate action.
Custom Development:
Develop a custom application or script that uses the Azure DevOps REST API to monitor work item changes and enforces the rules you need. This application can periodically check the state of work items and revert changes or notify users if their actions violate your process rules.
To mimic the specific behavior you described, you would likely need a combination of a service hook or webhook with a custom logic handler (like an Azure Function or a web service) that checks the "Developed_By" field and validates the state transition based on your rules.