Forum Discussion

TJP5199's avatar
TJP5199
Copper Contributor
May 11, 2023

Set Default Test Plan When Adding Tests From Board

I have 3 Test Plans set up in my Area Path: Smoke Test, Regression Test, and Integrations.

 

When I add a Test to a user story via the Board (ellipses > Add Test), the test is automatically created in a new suite in the Smoke Test plan. I want the new suites to be created in the Integrations test plan. How can I set the default Test Plan so that all new test suites are created in the Integrations test plan?

1 Reply

  • May think about workaround:

     

    1. Rename Your Test Plans Strategically

    Azure DevOps tends to default to the first test plan alphabetically. Try renaming your plans like this:

    • 1_Integrations
    • 2_Smoke Test
    • 3_Regression Test

    This can trick the system into defaulting to “Integrations” when adding tests from Boards.

    1. Use the Test Plans Hub Instead

    Instead of adding tests from the Boards view:

    • Go to Test Plans.
    • Select the “Integrations” plan.
    • Create a new suite and link it to your user story manually. This gives you full control over where the test lands.
    1. Use Azure DevOps REST API or Power Automate
    • Use the Azure DevOps REST API  to programmatically create test suites in the desired plan.

    Or build a Power Automate flow that triggers when a test is added and moves it to the “Integrations” plan.

Resources