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
    2,318 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

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 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard