Managing a project's components
- Choose Administration () > Projects, and select the relevant project.
Choose Components in the project sidebar. The Components page is displayed, showing a list of components and each component's details. From here you can manage the project's components as described below.
Adding a new component
- The Add Component form is located at the top of the 'Components' screen.
- Enter the Name for the component. Optionally, enter a Description, and select a Component Lead and Default Assignee (see options below).
- Click Add.
Selecting a Default Assignee
You can optionally set a Default Assignee for a component. This will override the project's default assignee for issues in that component.
Multiple components and selecting assigneesIn the case of issues with multiple components, the assignee structure works top-down, that is from the least to the most specific. The most specific (Component Lead) takes precedence over others. For example, if an issue has multiple components and some of these components have the Unassigned option selected, some have a Project Lead specified, and some others - a Component Lead, then the Component lead will always take precedence as the Assignee.
Default assignee option
Issues matching this component will have the assignee set to the same default assignee as the parent project.
If an issue has multiple components, and no assignee is selected for any of the components, we use the Project Default assignee.
The assignee of the issue will not be set on the creation of this issue.
This option will only be available if "Allow unassigned issues" is enabled in the General Configuration.
Unassigned takes precedence over Project Default as the Assignee.
The assignee will be set to the project leader.
If the project leader is not permitted to be assigned to issues in the permission scheme, this option will be disabled and will say "Project Lead is not allowed to be assigned issues".
Project Lead takes precedence over Project Default and Unassigned as the Assignee.
The assignee will be set to the component leader.
If the component leader is not permitted to be assigned to issues in the permission scheme, this option will be disabled and will say "Component Lead is not allowed to be assigned issues". The Component Lead option will also not be available if the component does not have a lead assigned to the component. Instead under this option it will say "Component does not have a lead.".
If an issue has multiple components, and at least one of them uses Component Lead, then the Component Lead takes precedence over Project Lead, Project Default, and Unassigned as the Assignee. If the components have different Component Leads, the default assignee will be set to the Component Lead of the component that is first alphabetically.
Editing a component's details
- On the 'Components' screen, open the menu in the Actions column for the component you want to edit, and select Edit.
- Edit the component's Name, Description, Lead, and Default Assignee in the Edit component dialog.
- Click the Save button to save your changes.
Searching for a component
If you need to find a component in a long list, it's easiest to search for it. Start typing text into the search box that you know the component contains, and your list will automatically be filtered for you.
Deleting a component
- On the 'Components' screen, open the menu in the Actions column for the component you want to delete, and select Delete.
- You will be prompted to associate any issues assigned to this component with another component if you wish.
- Click the Delete button to delete the component.
Archiving a component
You can archive the components that are no longer relevant so that they do not clutter your Jira instance. By archiving a component, you make it unavailable to be chosen and linked to issues but you still keep it as reference for reporting purposes. The component still appears on the components' list but is marked as Archived.
To archive a component:
Open your project, and click Components in the navigation bar on the left.
Find the component you want to archive, and select More (> Archive.
The component will be immediately tagged as Archived.
The component remains on the components' list, marked as Archived. It disappears from the components dropdown on an issue page so that it cannot be selected and linked to a new issue. Archived components linked to issues show as read-only in the Components field.
If you use Jira Service Management as well, then your archived components will show as read-only in tickets. Additionally, you will not be able to select and link an archived component to the ticket.
Restoring a component
All the component data remains in Jira, so you can restore it whenever it's needed again.
To restore a component:
Go to Components and select the component to restore. Tip: You can filter for the Archived status to find the component you need.
Next to the component to be restored click More (> Restore.
The component will be restored to its original state and marked Active.