It's all about the answers!

Ask a question

Is there a way to make a tag field show up with a default value


Sean Burke (3789144247) | asked Sep 27 '16, 12:40 p.m.
I added a tag field to custom form.  I want a default tag value on every work item I create.  Is this possible?

Comments
Donald Nong commented Sep 28 '16, 2:48 a.m.

I would like to know as well. As far as I can tell, we need a "Collection" to set values to a Tags attribute, but the Script-based default value seems to always return a "String".

One answer



permanent link
Don Yang (7.7k21114139) | answered Sep 28 '16, 3:06 a.m.
If you use built-in Tag attribute, it does not seem to support default value setting.
You can create a new Tag attribute as Small String and then create a default value(https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Default_values) and set that value to the
Tag attribute so that when creating a new work item, the default value will be set.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.