Forum Discussion

Haowei715's avatar
Haowei715
Copper Contributor
Aug 14, 2023
Solved

Character limits of default value in DevOps Multiple Lines field

Hi Developers,

 

I intend to use multiple lines field as a text box, in which I can embed hyperlinks with <a> tag and plain text into. However, I found the default value of multi-line field has a character limitation. I am wondering what the specific character limit of default value is and if there is an alternative approach to embed hyperlink which can be clicked by users directly.

Thanks a lot

  • 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

7 Replies

  • 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

    • Haowei715's avatar
      Haowei715
      Copper Contributor

      Robina Thanks! But I didn't find the PlainText Text field. Could you please help me with more details? 

       

      • OlgaPatapava's avatar
        OlgaPatapava
        Copper 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

Resources