# Get Issue

> `UiPath.Jira.Activities.GetIssue`

`UiPath.Jira.Activities.GetIssue`

The **Get Issue** activity uses the [Jira API](https://bitbucket.org/farmas/atlassian.net-sdk/src/e2082af34475bd126f466ecd582501e090febc5e/docs/how-to-use-the-sdk.md) to retrieve an issue (**Issue**) using an issue key (**Issue Key**).

This activity returns an issue (**Issue**) that can be used in subsequent activities such as [Update Issue](https://docs.uipath.com/activities/other/latest/legacy-integrations/jira-update-issue)]).

## 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 **Get Issue** activity inside the **Jira Scope** activity.
4. Create and enter a `String` and an `Issue Key` variable for the Input properties.
5. Create and enter an `Issue` and an `Issue` 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

* **Issue Key** - The key of the Issue to get. 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

* **Display Counts** - If selected, will return related item counts for (**Number of Attachments**) and (**Number of Comments**) output parameters.

### Output

* **Issue** - The resulting issue. This field supports only `Issue` variables.
* **Number of Attachments** - The number of attachments for this issue. Enter an `Int32` variable. This will only be populated if the parameter (**Display Counts**) is set to true.
* **Number of Comments** - The number of comments for this issue. Enter an `Int32` variable. This will only be populated if the parameter (**Display Counts**) is set to true.
