Enforcing unique test artifact names

When a test artifact is created, it is provided with a unique ID. However, the test artifact name can be reused. You can configure options in a project area to enforce name uniqueness for new test artifacts and test artifacts that are renamed.

About this task

If the name uniqueness option is enabled and you try to create or rename a test artifact with an existing name, you are prompted to use a different name. The following test artifacts types can be configured to enforce unique test artifact names:
  • Test plans
  • Test cases
  • Test suites
  • Test scripts
  • Test case results
  • Test suite results
  • Test case execution records
  • Test suite execution records
  • Test environments
  • Build records
Attention: You cannot enforce unique test artifact names across Streams in a configuration management-enabled project area. If you configure the name uniqueness option in a configuration management-enabled project area, you can enforce unique test artifact names for all test artifacts types within that stream only. You can still reuse test artifact names across Streams.
Note: The duplicate artifact feature does not consider name uniqueness, and adds prefix 'Copy of' to the duplicated artifacts with the same name to avoid any confusion between original and duplicated test artifact.

Procedure

  1. Log in as a user who has permission to save project areas. You can save project areas when you meet one or more of these criteria:
    • You have permission to save the project area in the process configuration.
    • You are an administrator of the project area.
    • You have either the JazzProjectAdmins or JazzAdmins repository group permissions.
  2. In the banner, click the Administration (Administration) menu, and then click Manage This Project Area.
  3. In the Project Area editor, click Test Artifacts > Name Uniqueness.
  4. Select the Enforce name uniqueness for artifacts check-box.
    By default, the option is applied to all test artifacts types.
  5. Optional: If you do not want name uniqueness to be enforced for specific test artifacts types, clear the check boxes next to those types.
  6. Click Save.