DevOps work item attribute names can be obtained with the following endpoints:
- Identify the different processes and select the one you want to integrate:
https://[baseUrl]/[collection]/_apis/work/processes?$expand=projects&api-version=6.0
- Taking ownership [typeId], the following query will be performed to query and select the workItemType to be integrated
https://[baseUrl]/[collection]/_apis/work/processes/[typeId]/workitemtypes?api-version=6.0
- querying fields according to workItemType, using the [name] of the workItemType
https://[baseUrl]/[collection]/_apis/wit/workitemtypes/[name]/fields?api-version=6.0&$expand=all
- The value that is required to associate the DevOps fields in the configuration file is the value of the “referenceName” property
⚐ Note: All of this information can be obtained directly from your DevOps platform