Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What is the use of Tag Datatype while creating attributes?? How it is different from a normal string??

Can anyone tell me what is the use of "Tag" datatype while creating attributes and how it is different from a normal string. Because in dashboard there is no change if i consider string or tag as a datatype.

1 vote


Accepted answer

Permanent link
Amert, please read http://en.wikipedia.org/wiki/Tag_%28metadata%29 about what tagging is.

Tagging is used in various area of CLM, not just work items. You can tag builds and other artifacts too.

There is a built in work item attribute 'Tags' of that type. I would suggest playing with it. Also follow See https://jazz.net/products/rational-team-concert/features/wi and search the text for Tagging.

Here is an example of a tagged work item with tags 'keep' and '4.0.2_candidate'.



You can create queries like for any other attribute. However, the tool knows the tags available and provides you with help selecting them.




Ralph Schoon selected this answer as the correct answer

1 vote

Comments

THANK YOU for the wikipedia link! I needed the definition of a tag as well and never thought to look there!


2 other answers

Permanent link
A "Tag" attribute is an attribute that can be used for "tagging" work items with one or more tags. The built in Attribute "Tags" uses this type. It is used to tag work items with arbitrary information such as "M5_Build_Candidate" where the tag is a string without spaces. Tags are comma separated. You can query for tags.

The built in Tags attribute also supports creating a tag cloud from a query. It also supports specifying permissions to add or remove and add new or existing tags. This is not available for custom tag attributes, however, you can query custom tag attributes for existing tags.

So Tags is really a collection of string tags rather than a string. If you type a sentence, you will get a tag for each word and not the sentence. I would use Tags for their purpose to mark items with multiple markers.

0 votes

Comments

I haven't heard of the tag attriubute before. Sounds good. Could you provide a syntax for the same?

Michelle, the syntax, if you call it one is described above. How it is handled might differ in views, but basically you type a word without spaces. If the text you typed exists as prefix, the matching tags are displayed for selection.

This is a very common way of using Tags - like this forum does it too.

See https://jazz.net/products/rational-team-concert/features/wi and search the text for Tagging.

Please be aware, you can also group by tags in plans. All these special things are however only available for the built in Tags attribute.


Permanent link
Please make me unserstand more clearly. I am not getting what is the use of it and how to create a querry for the same....????

1 vote


Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,117

Question asked: Mar 26 '13, 4:39 a.m.

Question was seen: 4,015 times

Last updated: Sep 10 '13, 3:13 p.m.

Confirmation Cancel Confirm