# Get a Jira issue

> Reads an issue's summary, status, assignee, labels and description, for the steps after it.

Source: https://docs.go-lumen.ai/reference/steps/jira-get-issue

## At a glance

| Property | Value |
| --- | --- |
| **Step name** | `jira-get-issue` |
| **Resource** | ClusterStep (`lumen.ai/v1alpha1`) |
| **Palette group, category** | read, jira |
| **Credits** | **0.2** credits each time it succeeds |
| **Side effects** | no |
| **Installation must provide** | nothing |

## Inputs

| Property | Value |
| --- | --- |
| **Needs** | nothing |
| **Produces** | `fields` |
| **Works on** | item: one document at a time |

Needs and Produces are data types (file, text, fields, email). The editor offers a step only where what it needs is already on the path. See [Documents and data](https://docs.go-lumen.ai/concepts/how-flows-run.md#documents-and-data).

## Outputs

A later node references an output as `{nodeId.field}` in text, or `nodeId.field` in a condition.

| Output | Type |
| --- | --- |
| `key` | string |
| `summary` | string |
| `status` | string |
| `assignee` | string |
| `assigneeId` | string |
| `reporter` | string |
| `labels` | array |
| `project` | string |
| `issueType` | string |
| `priority` | string |
| `url` | string |
| `description` | string |
| `createdAt` | date |
| `updatedAt` | date |

## Settings

Set under `config:` on the flow node. Text settings may contain `{nodeId.field}` placeholders.

| Setting | Type | Default | Description |
| --- | --- | --- | --- |
| `connectorRef` | string |  | Jira connection (minLength 1) |
| `issue` | string |  | An issue key such as PROJ-123, or a value from earlier in the flow. Empty is the issue the flow started from. (maxLength 200) |

The full JSON Schema of these settings: [jira-get-issue.schema.json](https://docs.go-lumen.ai/schemas/steps/jira-get-issue.schema.json).

## Example

Read the ticket a message names

```yaml title="config"
issue: '{ticket}'
```

## Use it in a flow

A node that runs `jira-get-issue` goes under `spec.nodes` of a [Flow](https://docs.go-lumen.ai/concepts/how-flows-run.md#the-flow-as-yaml). Give it any id, and list the next node ids in next.

```yaml title="flow.yaml"
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
  name: jira-get-issue-example
  namespace: tenant-acme
spec:
  displayName: "Get a Jira issue"
  triggers:
    - id: start
      ref: {name: manual-run}
      next: [jira-get-issue]
  nodes:
    - id: jira-get-issue
      stepRef: {name: jira-get-issue}
      config:
        issue: '{ticket}'
```
