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

Can an attribute ID be arbitrarily picked ?

 Have noticed all OOTB attribute ID's come in a long string in the form of 
com.ibm.team.workitem.attribute.<attributeName>
like the ID of any other RTC entities.

But when creating new customized attributes, found that their ID can be arbitrarily picked, as long as there are no embedded blanks (and probably most of the special chars).

Is the long, descriptive ID built that way just to have an effective way to actually identify the owner/creator and the type of the entity, i.e. the <attributeName> is a workitem.attribute created by com.ibm.team ?
Is there any implication not to use the implied convention, or to use the convention, besides the creation or the avoidance of a confusion in trying to figure out what an entity is by name ?

0 votes


Accepted answer

Permanent link
Hi Long,
There is no specific rule regarding that. I have found many repositories where admins just gave id without any prefix. Anyway, from my perspective it could be a good practice to use a convention like for Java packages - give creator name as a prefix to improve search experience when administering attributes.

Let us know if that helps.
long TRUONG selected this answer as the correct answer

0 votes

Comments

we override and replace the generated id for custom items with our own

com.company.type

com.xx.workitem.attribute.type.xxx
com.xx.workitem.enumeration.literal.xxx

but thanks for asking.. your question makes me wonder if we have made a mistake on one area.  we assigned specific state ids to our custom defect workflow.

but if a workitem changes type, then the states won't map to the new workitem type ids.

you can change a workitem type very easily.

luckily we have only deployed one project on the new process template.

 Thanks Krzysztof.


That was what we thought !

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,121

Question asked: Feb 05 '14, 8:36 a.m.

Question was seen: 2,922 times

Last updated: Feb 06 '14, 6:41 a.m.

Confirmation Cancel Confirm