Adding new Values to "state"

We're looking at the "state" field in the Work Items.

Currently there are: Active, Resolved and Closed.

We would like to Add: On-Hold, Obstacle.

Would there be any ramifications if I added:

<STATE value="On-Hold" />

<STATE value="Obstacle" />

To the states node in the Workflow section to get these states Or would there be a better place to put these




Answer this question

Adding new Values to "state"

  • SimonCore

    Nathan,

    Thanks for the reply. That's what I needed to know.



  • Sidd Shenoy

    Is it possible to add values for the state field using the process editor, or do I have to edit the xml file for a work item and import it into the tfs server

  • Gabriel Mongeon

    I added new states as well, and the primary additional task was having to change the queries and reports to take the appropriate action with the new states. For instance, you may want the "Blocked" report and query to include items in your "On-Hold" and "Obstacle" states, or you may want the "My Work Items" query to not include these. At a minimum, I'd expect that you'd want a new query (and perhaps a report) that would show the items in your new states.

    The queries are rather trivial to create/change; the reports take a bit more effort.

    You may also want to add rules around who can change between states, required fields when entering or exiting those states, etc.

    Another idea (that I added to mine as well) would be to add a new field, that would contain a "Hold/Obstacle Reason", that would be required when in your new states.

    Nathan


  • Adding new Values to "state"