Adding "Text" to Forms in Custom Work Items

I want to add default text to a work item field where people will answer questions...I don't want to deal with new fields as the number and type of questions may change over time...for instance, on the code review work item type, I want to put "guidelines" on the "Purpose" tab to list out the questions to answer related to the purpose...any ideas

Answer this question

Adding "Text" to Forms in Custom Work Items

  • Grzesiek_23

    You can use COPY or DEFAULT rules for that. You can also make those rules conditional - i.e. the value will be based on another field's value. Something like that:

    <FIELD refname="My.Field.1" name="Field 1" type="String">

    <WHEN field="My.Field.2" value="Value 1">

    <COPY from="value" value="Default 1"/>

    </WHEN>

    <WHEN field="My.Field.2" value="Value 2">

    <COPY from="value" value="Default 2"/>

    </WHEN>

    </FIELD>

    Thanks,

    Alex


  • Adding "Text" to Forms in Custom Work Items