Book a Demo

Author Topic: Unique Requirement IDs  (Read 6396 times)

crd

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Unique Requirement IDs
« on: September 18, 2012, 02:45:10 am »
How have others managed providing Unique Requirements IDs across projects?

Looking to implement - many projects in one database.  I have never liked the auto-numbering within EA - would appreciate thoughts on this one?

jfzouain

  • EA User
  • **
  • Posts: 152
  • Karma: +6/-1
    • View Profile
Re: Unique Requirement IDs
« Reply #1 on: September 18, 2012, 04:13:40 am »
Don't use the Auto-number for requiremnt and create your numbering based on the project.
Best regards

Jose Zouain

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Unique Requirement IDs
« Reply #2 on: September 18, 2012, 05:15:54 pm »
Each requirement already has a unique ID.
If you look at the properties window (View|Element Properties) you'll find the field GUID which is a (globally) unique id for the requirement element.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unique Requirement IDs
« Reply #3 on: September 18, 2012, 06:24:23 pm »
The drawback is that GUIDs are not very good to remember. Usually you want an id in the form AAAA-NNNNN (A = alpha, N = numeric) or the like which can be used in reports to easily identify requirements by humans. So either you have some extra tool (external like DOORS or an MDG like RaQuest) or you have an own addin which provides a unique ID in the format you like (this is a bit tricky, though).

q.

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: Unique Requirement IDs
« Reply #4 on: September 18, 2012, 07:07:32 pm »
it is not as difficult, as it might sound. every time, a new requirement is created, suppress the elements dialog and get the current numbering from the autonumber and replace the alphanumeric part.

than call up the element properties dialog again :-)

or, if your initial requirement-cration is not very diofficult and has not many features you may create your own dialog for it.

makes the creation much more handy for it.

greetings

Stefan
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

crd

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Unique Requirement IDs
« Reply #5 on: September 18, 2012, 08:55:22 pm »
Yes, GUID is the unique identifier, but not real user friendly when producing reports or for reference purposes during facilitated sessions.  

Thanks for confirming.  Since EA has so much functionality - I wanted to make sure I wasn't missing something.

I will have to dust off my API code skills.  

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: Unique Requirement IDs
« Reply #6 on: September 18, 2012, 09:34:28 pm »
I dont use auto numbering at all. As small packages get completed, I turn them into FEATURES, which along with level numbering, allows me to fix requirements numbering as I want it. Its not perfect, because EA level numbering stops at the first Package up the tree, hence the conversion to feature.

By the time the Requirements are complete, they reside as the leaves of a tree whose other nodes are all features.

I never delete a requirement, marking its status as obsolete or deleted, so as not to upset the numbering. New requirements are always added to the end of a feature sub tree.

The output document is generated using EaDocX which maintains the numbering perfectly.
« Last Edit: September 18, 2012, 09:35:48 pm by douglasgblake »
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Unique Requirement IDs
« Reply #7 on: September 19, 2012, 03:34:50 am »
I like to have requirements numbered as then they are uniquely identfied even if you change the name to make it clearer.  I actually prefer the EA autonumbering as I dislike structured numbering and relying on analysts to correctly create a unique number manually results in duplicates.

On one programme we decided that we wanted to use structured requirement numbering to show the project that the requirement was gathered under and acheived that by doing the requirement gathering in a seperate project file using the autonumbering with a suitable prefix and suffix and imported the finalised requirements into the master repository.