Forum Discussion
Character limits of default value in DevOps Multiple Lines field
- Aug 21, 2023
Haowei715 hi, I actually managed to do this via rules (the same section as Work Item editing). I added a rule as: When work item is created, set a value for the field ... . HERE input takes up to 4000 characters 🙂 hope it helps
The default String fields take a max of 255 characters. You could use Text field type instead of the default String field, which supports entry of a text string that can contain more than 255 Unicode characters.
You can check the document FIELD (Definition) element reference for some more details
Robina Thanks! But I didn't find the PlainText Text field. Could you please help me with more details?
- OlgaPatapavaAug 21, 2023Copper Contributor
Haowei715 hi, I actually managed to do this via rules (the same section as Work Item editing). I added a rule as: When work item is created, set a value for the field ... . HERE input takes up to 4000 characters 🙂 hope it helps
- shirishapunna8Jul 17, 2024Copper Contributor
OlgaPatapava This has the limitation when we create a copy of workitem Azure Devops considers it as new workitem and add the default values rather tan copying the existing workitem field values
- gregory2165Sep 06, 2023Copper Contributor
OlgaPatapava but what about if I would like to type text as default so, when user create work item already has pre-defined text more that 255 characters. Now if I want to add in default field is limited.
- Haowei715Aug 22, 2023Copper ContributorThanks! This approach works for me 🙂