Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Azure DevOps integration - duplicate comments

HenrikkiH
Tera Contributor

Hello community,

One of our departments wants to use ESC portal to create a Azure DevOps (ADO) work item as they work solely in ADO. I have installed Microsoft Azure DevOps Integration for Agile Development & Microsoft Azure DevOps Boards Spoke applications, configured everything from field mappings to registered webhooks etc. I have a record producer that creates a record in rm_defect table, a business rule (copy from OOTB rule for stories) that triggers the flow to create a "Bug" work item in ADO. So far so good. The work item is created with all System and Custom fields populated properly in ADO. I believe I have done all that correctly.

 

My issue is that when the requester comments in ESC and the integration sends it to ADO, it comes back as a duplicate comment in ESC. If I make a comment in ADO, only one comment, the right one, comes back to ESC.

HenrikkiH_0-1763988443406.png

In ADO, it looks like this (I can live with [code][/code] unless you have a fix for it :)):

HenrikkiH_1-1763988512222.png

Maybe this is an ADO webhook issue, I don't know enough of it to be sure.

1. Perhaps someone has run into this issue before and was able to fix it?

2. Maybe there is a way in ServiceNow to suppress these duplicate comments?

 

Thank you!

Henrikki

 

3 REPLIES 3

davidnavelgas
Tera Contributor

Hi,

 

I have the same problem but I didn't know how to resolve it. I think is something regarding with the [code]text[/code]. Did you find any solution?

 

Thanks in advance.

David

David,

I have a ticket open with ServiceNow on this. I will update the thread once they come back with a solution.

Regards,

Henrikki

This is added in the script include.
sn_agile_ado_int.ADOWebhookEventProcessorUtil

Line 287 

 sourceGr[key] = "[code]" + normalizedObj[key] + "[/code]";