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

Notifications

Announcements

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,195 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard