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 / Assigning Iteration St...
Power Automate
Unanswered

Assigning Iteration Start and End dates to Work Item Start Date and End Dates in Azure Dev ops

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I'm building a flow in power automate to help make a recurrent task easier for me. 

In azure dev ops, when any work item is assigned to an iteration (aka sprint), I want that iterations start date and end date to be applied to the work item's start date and due date respectively automatically. 

 

This is the flow I have created:

frenchie_0-1703088181632.png

This is the condition I have set up.

frenchie_1-1703088207291.png

And this is the "Other Field" I have set up. 

frenchie_2-1703088241059.png

 

This is my first flow and I clearly know I have done something wrong.

Any advice is much appreciated. 

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

    Hi @frenchie,

     

    I see in your screenshot you placed the date value in the key field of the Other fields section.

     

    The key is used to refer to the field you want to update. So, that would be Start Date. The date value can be placed in the value field.

     

    Below is an example

    In this example I am updating an EPIC work item.

     

    1. Via a Send an HTTP request to Azure DevOps the current iteration is retrieved

    @{variables('ProjectName')}/_apis/work/teamsettings/iterations?$timeframe=current&api-version=7.1-preview.1

     

    2. This expression is used to retrieve the startDate from the current iteration

    outputs('Send_an_HTTP_request_to_Azure_DevOps_-_List_Iterations')?['body']['value'][0]['attributes']['startDate']

     

    3. This expression is used to retrieve the finishDate from the current iteration

    outputs('Send_an_HTTP_request_to_Azure_DevOps_-_List_Iterations')?['body']['value'][0]['attributes']['finishDate']

     

    currentiteration.png

     

     

    keyvalue_otherfields.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard