web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Determine which DevOps...
Power Automate
Answered

Determine which DevOps work item type a changeset is checked into

(0) ShareShare
ReportReport
Posted on by 5

Hello!

 

I'm having difficulty figuring out how to pull the changeset and related work item in Power Automate so I can set up Teams messages if they're not checked in against specific work item types. The "When Code is Checked In (TFSVC)" trigger doesn't have any dynamic fields for related or parent work item. I feel like I'm missing something obvious.

 

Thank you for your help!

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,876 Most Valuable Professional on at

    Hi @_Jenn_,

     

    You can retrieve the changeset details via a REST API request:

    Changesets - Get - REST API (Azure DevOps Tfvc) | Microsoft Learn

     

    Below is an example

     

    @{variables('ProjectName')}/_apis/tfvc/changesets/@{triggerOutputs()?['body/changesetId']}?includeWorkItems=true&api-version=7.1-preview.3

     

    getchangesetdetails.png

  • _Jenn_ Profile Picture
    5 on at

    Thank you SO much! It worked and pulled all the data for a recent check-in.

     

    Now I've set up a step to (hopefully) pull the workItemType and post it into a Teams message. Will see if it worked when the dev team checks in additional code.

     

    Thank you again!!
    Jenn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard