Create task/issue in Azure Board from Business Central

24-08-2023

With the Azure DevOps API, we will be able to create Board task & issue straight from Business Central.

We use HttpClient for calling the Azure DevOps REST API. Once the API called & executed, the work item is created in Azure DevOps project.

https://dev.azure.com/<Organisation Name>/<Project name>/_apis/wit/workitems/$<type>?api-version=7.0

type= task/issue

Header:

Autorization (Basic) : <PAT>

Content-Type : application/json-patch+json

Body:

[

{

    "op": "add",

    "path": "/fields/System.Title",

    "from": null,

    "value": "My first task from Business Central"

  }

]