How to fetch visible work item fields and values via Azure DevOps Rest API

Elvira 0 Reputation points
2023-11-03T11:13:59.2866667+00:00

Hi guys!

I'm trying to integrate Azure Devops task management with my app. I wanted to add the ability for users to create tasks/bugs/issues from my application in their organization. But I didn't find the endpoint to get data for the issue creation form.

  1. When I try to get a list of fields, I get all possible fields, there are more than 90 of them. But is there any filter/parameter/endpoint where I can get only those fields that the user usually sees when creating a a new one on https://dev.azure.com/{organisation}/{project}/_workitems/create/{workItem} ?
  2. How can I get all valid values for select/autocomplete fields, for example in Iteration: Iteration 1, Iteration 2, Iteration 3 or Priority (1, 2, 3, 4), or Value area or Link type, or Work items to link? And is there a way to determine the field type, such as text or select?

Is there some magic endpoint similar to /issue/createmeta in Jira Cloud Rest API ?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
32,740 questions
0 comments No comments
{count} votes