Expand my Community achievements bar.

Workfront Fusion - Azure Devops - watch event for work item commenting in Azure Dev Ops

Avatar

Level 2

We are trying to set up a watch event using the Azure DevOps module. This is intended to notify us when a comment is entered on an Azure DevOps Product Backlog Item, Task, or Feature, and then sync that comment to the related task Comments(Updates or Note) in Workfront. However, we are facing an issue in our Fusion scenario, which is configured to watch for “New and Updated Records” (Work Item Commented). It creates two event subscriptions—one for new records and one for updated records—pointing to the same webhook address. This can lead to duplicate triggers if a single action in Workfront is interpreted as both a new record and an update, or if an update is registered immediately after creation. How can we address this issue?

3 Replies

Avatar

Level 4

Hi @itsPrassy,

 

This can be easily avoided if you add additional filter for specific filed change for example you can have a condition which checks New and Updated Record and DESIRED__COMMENT_FIELD changed (there is a condition changed) so you only get events where the field value was changed and not the auto updated done in the background.

 

Hopefully this help, please let me know once you try.

 

Best regards,
Ivan

Avatar

Level 2

Hi Ivan

 

I could not find DESIRED__COMMENT_FIELD in the event section. The event type appears as workitem.commented, and there is no field to determine whether the comment is new or updated.

 

Thank You !

Prasanna

 

Avatar

Level 4

Hi @itsPrassy,

 

I just added that name as a placeholder, I guess you are checking that a certain field changed when you have that event, for example when you have a new content I would assume that the event workitem.commented should have additional fields available like content of the comment and I would assume that content is only changed once? Usually the system updates you get do not change any values, other than update time for example.

 

Please take a screenshot of the fields for one event that you know for sure has the new comment content so we can see if any of those are useful.

 

Best regards,
Ivan