Skip to content

US_01.001 | New Item > Creatе a new item #483

@KatyaMy

Description

@KatyaMy

As a User,
I want to create a new item (job) with a unique name,
So that I can define and manage a separate project or pipeline in Jenkins.

Acceptance Criteria:

  1. New Item Page Accessibility

The "New Item" page should be accessible from the Jenkins Dashboard.
The page should have an input field "Enter an item name".
A list of available item types (Freestyle Project, Pipeline, Multi-configuration Project, Folder, Multibranch Pipeline, Organization Folder) should be displayed.
2. Entering an Item Name

The item name input field should accept alphanumeric characters and underscores.
Special characters (except underscores) should not be allowed.
The user must enter a valid name to proceed.
If the field is left empty, the "OK," button is disabled.
If an item with the same name already exists, an error message should be displayed.
3. Creating the Item

Clicking the "OK" button should create the item and navigate the user to the configuration page for the selected item type.
If the "OK" button is clicked without entering a name or selecting an item type, an appropriate validation message should appear.
The newly created item should be visible on the Jenkins Dashboard after creation.
4. Error Handling

The system should validate the item name field and show errors for: Duplicate name, Invalid characters, Blank input..
The system should validate the "Copy from" field for existing items.
Errors should be displayed in red with clear message.
The "OK" button should remain disabled until all errors are resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions