# Create Component

> `UiPath.Jira.Activities.CreateComponent`

`UiPath.Jira.Activities.CreateComponent`

The **Create Component** activity uses the [Jira API](https://bitbucket.org/farmas/atlassian.net-sdk/src/e2082af34475bd126f466ecd582501e090febc5e/docs/how-to-use-the-sdk.md) to create a new component (**Component**) for a specific project (**Project Key**).

The activity outputs a component object (**Component**) that can be used as an input variable in subsequent activities (e.g., **Component** in Delete Component).

## How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/jira-setup) steps.
2. Add the [Jira Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/jira-scope) activity to your project.
3. Add the **Create Component** activity inside the **Jira Scope** activity.
4. Create and enter a `String` and a `Name` variable for the Input properties.
5. Create and enter a `String` and a `Project Key` variable for the Input properties.
6. Create and enter an `Component` and a `Component` variable for the Output properties.

## Properties

### Common

* **Continue On Error** - This field only supports boolean values (True, False). The default value in this field is False. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
* **DisplayName** - The display name of the activity. This field supports only strings or `String` variables.

### Input

* **Name** - The name of the component you wish to create. This field supports only strings or `String` variables.
* **Project Key** - The key of the Project that you you will create the Component for. This field supports only strings or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Options

* **Component Lead** - The lead user for the component. Enter a JiraUser or `JiraUser` variable.
* **Default Assignee** - The user assigned by default to issues created on this Component. Valid values: Component Lead, Project Default, Project Lead, Unassigned.
* **Description** - A description of the component. This field supports only strings or `String` variables.

### Output

* **Component** - A **Component** object. This field supports only `Component` variables. The variable you create for this property can be used as an input variable in subsequent activities (e.g., [Delete Component](https://docs.uipath.com/activities/other/latest/legacy-integrations/jira-delete-component)).
