Automatically create work items in Azure DevOps

  • 25 March 2019
  • 1 reply
  • 62 views

I'm looking for a way to get K2 to automatically create work items in Azure DevOps after a user submits a smartform.

 

The work item in Azure DevOps does not need to be assigned (but it would be nice if it could be).

 

How do I approach this? Would a lot of programming (e.g., .NET) be involved?

 

I'm using K2 4.7.

 

Thank you!


1 reply

Userlevel 1
Badge +8

You can use K2's Rest Broker to talk to the Azure DevOps APIs. You can learn more about those APIs here: https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.0

 

MSFT most likely provides a swagger file to use, but that can cause a lot of noise. To get started, take a look at this KB article that will arm you with the knowledge to get started with the Rest, Swagger and the Rest Service Broker. https://help.k2.com/kb001786

or if you want to jump right in to trying to create your own swagger with Rest United, check his KB out https://help.k2.com/kb001758

 

It should be doabe, I haven't worked with the Azure DevOps APIs so I can't comment what nuances there may be with working with those APIs, but this should get you started.

 

Ping back if you have any questions.

Reply