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 / VSTS connector create ...
Power Automate
Unanswered

VSTS connector create work item set state with text fails

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

When creating a VSTS action that creates a new work item, I attempt to update the State field with free text with the string "Active". The flow then fails because this state is not valid (fails with or without quotes). Is a string allowed in this field or does this need to be updated with dynamic state data? The field itself contains directions that say "New = for triage; Active = not yet fixed; Resolved = fixed not yet verified; Closed = fix verified." When it fails, it fails with the following body:

{
  "status"400,
  "message""The field 'State' contains the value 'Active' that is not in the list of supported values\r\nclientRequestId: 799f4ca4-44b8-4af9-a693-1b7878482864",
  "source""vsts-wcus.azconn-wcus.p.azurewebsites.net"
}

 

What are the supported values? Where would I find this list?

 

This runs successfully if I use the dynamic field State from a previous flow action.

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ bcaspar,

     

    Could you please share a screenshot of the configuration of your flow?

     

    Could you please share more details about which action run failed with the error that you provided?

     

    I couldn't find a "State" field in the "create a work item" action so I couldn't made a test on my side.

    Please share more details so we could provide a proper workaround for you.

     

     

    Regards,
    Alice Zhang

  • bcaspar Profile Picture
    Microsoft Employee on at

    Hey Alice,

     

    Here's the config. You need to hit the "Show advanced options" link at the bottom of the config panel for the "Create VSTS work item" action to see the State field.

     

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ bcaspar,

     

     

    I couldn't see the "State" column on my side,please refer to screenshot below:

    Capture.PNG

     

    I would made a test on my side,once the "State" column is avalible on my side,I would reply here.

     

    Regards,
    Alice Zhang

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
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard