Hello, I am using Devops work items as a general change management tool. I would like users to be able to transition a work item from State: New to State: Request approval.
When this field change occurs, I have a flow condition which changes the State of the work item to Pending Approval.
I want to prevent the user from changing the work item to Pending approval status manually so I have used a Rule in Devops as shown below:
The intent of the rule is to prevent end users from transitioning this status, but allowing the service account in Power Automate to make the transition.
Here is the state field for reference before bring transitioned to Request approval:
Here is the relaent parts of my flow:
Unfortunatly, the flow is failing with a Devops rule violation. Am I approaching this correctly? I really would like to hide the state from users but allow the flow to be able to change to this state based on a condition.
Is there any way that I can accomplish this?
Thanks