RTC: Instigate Naming Convention when creating components
We have a naming convention where each component should be called
<Project Area Name>.<Team Area Name>.<Product being Created>.<Type>
eg
JKE-Banking.Systems-Analysis.BankTellingMachine.Dev
Ideally when creating a new component the Project Area Name and Team Area name would be resolved with the current details and the user would be left to fill in the Product being created and type parts in the component name field of the dialog as per our guidelines
Is it possible to do this, if so how?
2 answers
You can use a calculated value attribute to define a JS script that fill the component name with your template based on the workitem attributes.
Assuming a component means a SCM component, I am fairly certain, that we can't do that. JavaScript is only available for work items. I am not aware of an extension point that could
1. Influence the component name when creating a new component
2. Prevent saving a component with a name that does not conform the schema.
Again, since the question leaves so much open I assume RTC SCM component. Adding How should I ask a question in the Forum if I want to receive useful answers? if you want to improve.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 21 '17, 2:24 p.m.