Content
View differences
Updated by Wieland Lindenthal about 1 month ago
**As** a user on a instance that uses (soon project-based) project-based work package identifiers
**I want to** get a suggestion for a short identifier based on the name when I create a new project
**so that** the project gets an identifier which is suitable for project-based work package identifiers right from the beginning
**Acceptance criteria**
* On the "new project" view there is a new field "Identifier" between "Name" and "Description" (see Mockups)
* When the user types in a name, a suggestion for the identifier is added to the "Identifier" field
* The identifier is updated in place if the name changes
* Depending on which work package identifiers the instance is using (project-based vs. numerical), the suggestion is either a short uppercase identifier or a long lowercase identifier
* The user can edit the "Identifier" field, if he or she does not like the suggestion
* Then the field is validated against the rules
* When the user "Continues" to the next page and goes "Back" again to change the name, the identifier is updated again
**Technical notes**
* There already is code for suggesting short identifiers, this should be reused
* There already is code for suggesting long identifiers, this should be reused if possible (see `acts_as_url :name` in `project.rb`)
**Permissions and visibility considerations**
* No changes
**Out of scope**
* <br>
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._
**Release communication**
* We simplified the UX for setting and updating the project identifier.
**I want to** get a suggestion for a short identifier based on the name when I create a new project
**so that** the project gets an identifier which is suitable for project-based work package identifiers right from the beginning
**Acceptance criteria**
* On the "new project" view there is a new field "Identifier" between "Name" and "Description" (see Mockups)
* When the user types in a name, a suggestion for the identifier is added to the "Identifier" field
* The identifier is updated in place if the name changes
* Depending on which work package identifiers the instance is using (project-based vs. numerical), the suggestion is either a short uppercase identifier or a long lowercase identifier
* The user can edit the "Identifier" field, if he or she does not like the suggestion
* Then the field is validated against the rules
* When the user "Continues" to the next page and goes "Back" again to change the name, the identifier is updated again
**Technical notes**
* There already is code for suggesting short identifiers, this should be reused
* There already is code for suggesting long identifiers, this should be reused if possible (see `acts_as_url :name` in `project.rb`)
**Permissions and visibility considerations**
* No changes
* <br>
**Release communication**
* We simplified the UX for setting and updating the project identifier.