cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
comorris
Microsoft
Microsoft

Email the URL of a newly created work item in DevOps

I have a simple flow where if a Form is submitted then it will create a work item within Azure DevOps.

 

Once the work item is created then I will be notified that there is a new work item via Teams and Outlook. Within that notification the URL of the created work item is added. Though, when I click on the provided hyperlink in the email or Teams all I get is a webpage with the HTML code, not the link to the work item itself. 

 

How do I get the hyperlink to navigate to the correct work item within DevOps?

 

Flow

comorris_0-1620859479165.png

 

 

1 REPLY 1
Expiscornovus
Super User II
Super User II

Hi @comorris,

 

As far as I am aware that URL contains the REST API Url value of the work item and not the interface hyperlink:

https://contoso.visualstudio.com/_apis/wit/workItems/55

 

An interface hyperlink would be something like this:

https://contoso.visualstudio.com/_workItems/edit/55

 

A workaround might be to use an expression for the URL value:

replace(outputs('Create_a_work_item_2')?['body/url'], 'apis/wit/workItems/', 'workItems/edit/') 

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,003)