An attribute value which automatically increments
Is it possible to define an attribute value to an artifact type which automatically increments when artifact of that type created(similar to attribute ID)?
|
One answer
Some simple things could be done using javascript based calculated value, but this things seems to be more complex as it involves the run of a query to catch the increment of elements.
Can I ask you what is the purpose of having this attribute? Maybe there are other ways. Comments
Arshad MoilingalZiyad
commented Feb 23 '16, 9:06 a.m.
Hello Michele,
Michele Pegoraro
commented Feb 26 '16, 5:05 a.m.
I'm sorry but I don't know the RREQ tool but yes, if you only need a unique id (and the work item ID could suit), you can create a custom attribute and then use a calculated value (from the Customize Attribute section in the process configuration) to set its value as a string plus the work item id.
Michele Pegoraro
commented Feb 26 '16, 5:19 a.m.
I'm sorry but I don't know the RREQ tool but yes, if you only need a unique id (and the work item ID could suit), you can create a custom attribute and then use a calculated value (from the Customize Attribute section in the process configuration) to set its value as a string plus the work item id.
Ralph Schoon
commented Feb 26 '16, 5:27 a.m.
| edited Feb 26 '16, 5:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not sure about what you can do in Doors next. I would be able to answer this question in Rational Team Concert and the answer would be: Extension to generate unique custom work item numbers
|
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.