4
votes

I'm in the process of setting up an in-house Azure DevOps environment. But I'm stuck at a point where I need to set up an email integration.

Question: is it possible within Azure DevOps to create a work item (in general/specific to a project) upon receiving an email?

Trigger: Users report issues via a generic email address (like support email)

Manage: Azure DevOps to capture this email (monitor inbox of this generic email address)

Output: A new work item is created with the contents/subject from the captured email.

Note: Issues could either be a bug, minor usability or other supports

  • I did look into MS Power Automate using flow. But not ideal in my case
  • Searched market place for a possible plugin. But couldn't find one which does this

Thanks in advance for any help or direction.

6

6 Answers

4
votes

Thanks you for all fellow contributors who suggested alternative approach. Unfortunately, these suggestions doesn't solve my concern at its level and hence I raised a feature request in Azure DevOps Server forum. You may find the request here and please vote it if you think it is relevant to you.

2
votes

Azure DevOps does not contain feature to create work items through email. You can try:

  1. TeamBox (pop3)
  2. As you mentioned MS Power Automate or Azure Logic App.
  3. Create your solution with existing resources. As example: Mail.dll - .NET email component (IMAP, POP3, S/MIME), Create Work Item in Team Services Through API
1
votes

The easy way is to use the TFS Work Items from Outlook tool.

It's give you the ability to create a work item from outlook and also create rules for create work items automatically (with templates).

enter image description here

Note: the name is TFS Work Items but it should works also with ADO.

1
votes

As Shamrai Aleksander mentioned above, for now Azure Devops Service doesn't support creating WITs from email.

Not sure if above extensions shared by Shamrai Aleksander and Shayki Abramczyk meet your needs well, I think you can also consider posting a feature request if you do want such feature comes true in Azure Devops Service. Since it's a good idea, feel free to suggest a feature to User Voice Forum of ADO.

Your requirements seems to be similar to this one which is posted in 2019, I recommend you can post a new one to share your feedback. Also, share the link in your question and members who interested in that would vote for you! Hope it helps.

1
votes

This is a good use case for a Logic App. You can create an app that triggers on a new email, using the Outlook connector, and then create a work item using the DevOps connector.
You can also add logic in the middle (using the Control connector and variables, for instance), to assess the content of the email and dynamically set the target project, work item type, or tags.

0
votes

You can user Microsoft Power Automate to do that.

You activator would be receiving an email and the rest of the workflow is up to you. It creates issues correctly and there is even a workaround to add files to the issue with power automate.