{"id":10232,"date":"2023-08-09T22:03:54","date_gmt":"2023-08-10T03:03:54","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=10232"},"modified":"2023-08-09T22:04:48","modified_gmt":"2023-08-10T03:04:48","slug":"creating-an-azure-devops-work-item-from-a-teams-message","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=10232","title":{"rendered":"Creating an Azure DevOps Work Item From a Teams Message"},"content":{"rendered":"<p>You can use <a href=\"https:\/\/make.powerautomate.com\/\">Power Automate<\/a> to create an ADO work item (bug, user story, etc) when a user posts into specific Teams channel.<\/p>\n<p>Log into Power Automate and create a new workflow. Find a Teams trigger that suits your need \u2013 in my case, I wanted to use a key word (you could even use <em>different<\/em> key words to create work items in different projects or with different content). Note that automation cycles accrue based on execution &#8212; so if you elect to link up to a busy Teams channel and filter for keywords to indicate you want an ADO item created, you may be &#8220;wasting&#8221; workflow cycles. In our case, I have a &#8220;user group&#8221; Teams space and set up a special channel where users can submit bug and feature requests. This means workflow cycles are accrued when someone specifically wishes to create an ADO item <em>not <\/em>when messages are posted into the user group&#8217;s general chat channels.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"572\" class=\"wp-image-10233\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-1.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-1.png 905w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-1-300x190.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-1-768x485.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-1-750x474.png 750w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/p>\n<p>You can source messages from channels or group chats in the \u201cMessage type\u201d selection. You cannot use hash-tags as key words! The workflow execution reports a gateway error. Select the Team and channel(s) that you want the workflow to monitor.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"299\" class=\"wp-image-10234\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-2.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-2.png 616w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-2-300x146.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/p>\n<p>Add a new step to \u201ccreate a work item\u201d from Azure DevOps<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"127\" class=\"wp-image-10235\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-3.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-3.png 663w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-3-300x57.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p>Configure the project into which you want to create the work item \u2013 the organization and project name, the type of work item, and content of the work item.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"488\" class=\"wp-image-10236\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-4.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-4.png 686w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-4-300x213.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/p>\n<p>If you want to set priority, add an assignment, etc \u2013 click on \u201cShow advanced options\u201d. I added a few fields to provide a clue as to where the bug report came from.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"589\" height=\"518\" class=\"wp-image-10237\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-5.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-5.png 589w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-5-300x264.png 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/p>\n<p>Save the workflow and post a message in your channel with the key word. Go into the ADO project work items; your Teams-initiated bug should be there.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1098\" height=\"244\" class=\"wp-image-10238\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-6.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-6.png 1098w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-6-300x67.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-6-1024x228.png 1024w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-6-768x171.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/word-image-10232-6-750x167.png 750w\" sizes=\"auto, (max-width: 1098px) 100vw, 1098px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can use Power Automate to create an ADO work item (bug, user story, etc) when a user posts into specific Teams channel. Log into Power Automate and create a new workflow. Find a Teams trigger that suits your need \u2013 in my case, I wanted to use a key word (you could even use &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1510,677],"tags":[1091,1092,666,686,1889,1890,665,1891],"class_list":["post-10232","post","type-post","status-publish","format-standard","hentry","category-ado","category-office-365","tag-ado","tag-azure-devops","tag-microsoft-teams","tag-ms-teams","tag-power-automate","tag-powerautomate","tag-teams","tag-workflow"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10232"}],"version-history":[{"count":2,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10232\/revisions"}],"predecessor-version":[{"id":10240,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10232\/revisions\/10240"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}