This is an Azure Devops extension to link work item and pipeline.
- To edit the service connection check/Approval instruction, create a PAT(Personal Access Token) with scope: Build(read & execute)
- Add the PAT in the environment variable (library) of the pipeline.
- make reference in the pipeline in the task settings: PAT.
Get approval ID
Get the check/Approval ID from project settings -> service connection
Enter in your service connection
Open browser inspect tool
click on (3 dots) option -> approval and check
From "HierarchyQuery" -> dataProviders["ms.vss-pipelinechecks.checks-data-provider"].checkConfigurationDataList.checkConfiguration.id
"Check/Approval stage name" is the stage which contains the approval check.