azure-devopsmicrosoft-teamsazure-boards

Microsoft Teams integration with AzureDevops Boards to create Workitems on demand


We are using azuredevops service and server 2022. Since we are planning to use azuredevops work items as a way to manage our Devops support request from developers, we were looking for an automated solution from MS teams, so that as Devops engineer, we can predefine different work item template with the required fields for each category of request(eg: some may be access request, Resource provisioning request, delete request, or some network change request etc..).. So the developers can easily access and prefill the required templates with all the related fields of their selected category and submit the work item to our azuredevops.

So far, we tried till here, but not getting a way to achieve the work item creation scenario in a processed way as we expected above.

But from here, we couldn't achieve the scenario


Solution

  • You are almost there. Please refer the following steps to achieve the work item creation scenario.

    1. First, capture work items as templates to predefine different work item templates with the required fields for each category of request. By saving the templates and selecting Copy link, you can get the URLs for the templates.
    2. Create a team dashboard in your Azure DevOps service project.
    3. Add the Markdown widget to the dashboard and configure the widget with your template links. Markdown widget

    Sample Markdown content

    ### Templates to create workitems
    
    - [access request](https://dev.azure.com/xxx/testproject/_workitems/create/Issue?templateId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&ownerId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
    - [Resource provisioning request](https://dev.azure.com/xxx/testproject/_workitems/create/Issue?templateId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&ownerId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
    - [delete request](https://dev.azure.com/xxx/testproject/_workitems/create/Issue?templateId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&ownerId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
    - [network change request](https://dev.azure.com/xxx/testproject/_workitems/create/Issue?templateId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&ownerId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
    
    1. Install the "Azure DevOps" app for Microsoft Teams and add it to a team. Then connect the app to the team's dashboard where you added the Markdown widget.

    2. Now, you can see the templates of the work items in the dashboard from the Teams channel tap. Your developers can click the links to go to the work item create page with predefine fields.

      Teams channel