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

Anonymous
2023-11-02T10:57:34+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 ?

Windows for business Windows Server Windows cloud Deploy Azure Local

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-11-03T05:33:38+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    Based on the description, I understand your question is related to Azure DevOps.

    Since there are no engineers dedicated to Azure DevOps in this forum. in order to be able to get a quick and effective handling of your issue, I recommend that you repost your question in the Q&A forum, where there will be a dedicated engineer to give you a professional and effective reply.

    Here is the link for Q&A forum.

    Questions - Microsoft Q&A

    Best Regards,

    Wesley Li

    1 person found this answer helpful.
    0 comments No comments