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 / How to create multiple...
Power Automate
Suggested Answer

How to create multiple tasks for an Existing userstory in Azure Devops using power Automate

(0) ShareShare
ReportReport
Posted on by
the story is alreay created in the Azure Devops board  with the acceptance criteria and details. How to add the tasks on to the story at the begining of the sprint?
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    1,872 Moderator on at
     
    Creating Child Tasks in Azure DevOps using Power Automate
    To automatically create multiple tasks and link them to an existing User Story, you cannot rely on a simple Parent field. In Azure DevOps, parent child relationships are managed through work item links.

    Recommended workflow
    1. Trigger
    Use a manual trigger, a scheduled trigger, or the “When a work item is created or updated” trigger filtered to User Story.
     
    2. Create the task
    Use the Create a work item action.
    Set the work item type to Task and provide a task title such as “QA Testing”.
    Tip: Map the Area Path and Iteration Path from the User Story so the task stays in the same sprint.
     
    3. Link the task to the User Story
    Right after creating the task, add an Update a work item action.
    Use the task ID returned from the create step.
    Select Hierarchy Reverse as the link type, which represents the child relationship.
    Provide the User Story ID as the linked work item.

    Why this step matters
    Azure DevOps stores relationships separately from standard fields like title or description. Adding the link explicitly ensures the task appears correctly under the User Story on the sprint backlog and task board.
     
    Creating multiple tasks
    If every User Story follows a standard checklist such as Design, Development, and QA, store these task names in an array variable. Wrap the Create and Update actions in an Apply to each loop so all tasks are generated automatically when a story is ready.
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

    Sunil Kumar Pashikanti, Moderator
    Blog:
     https://sunilpashikanti.com/posts/
     

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 516

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 470

Last 30 days Overall leaderboard