0
votes

I'm integrating our product with Azure DevOps but currently I could not retrieve the label of custom field. I cannot use the name property because the name does not reflect the change from Azure DevOps.

I'm using "https://dev.azure.com/{organize}/{projectId}/_apis/wit/fields/Custom.NewHungField" API for getting information about the custom field, but it does not return label of the field.

Thank you.

1

1 Answers

0
votes

Yes, you can not find label when you use Fields - Get directly. But you can see the label of the custom fileds using Work Item Types - Get.

For more information, you can check below demo:

enter image description here

Using API:

GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes/{type}?api-version=5.1

Get the response:

enter image description here

You can find the label of custom fields in it.