# Linear: Update Issue - Label

Applies a label to an existing Linear issue, useful for tagging issues by incident severity, type, or response stage automatically.


> **Availability:** See the [Incident Workflow Actions Overview table](/workflow-actions) for the plans this workflow is available on.

## Description

Set a label on an existing issue in Linear from a PagerDuty Incident Workflow. This action enables automated issue categorization and triage, allowing teams to tag Linear issues with the appropriate label based on incident severity, type, or stage without manual intervention.

## Instructions

1. If you have not done so, follow the instructions to [Create an Incident Workflow](/ai-automation/automation/incident-workflows#create-an-incident-workflow).
2. When the instructions prompt you to [add actions](/ai-automation/automation/incident-workflows#add-actions), select **this action**.
3. Enter the following **Inputs** and click **Save**.
4. Continue following instructions to **Publish** the Workflow.
5. When the action runs, you will see the **Outputs** listed below.

## Inputs

> **Field References:** Fields with the **\{+\}** icon accept [Field References](/ai-automation/automation/incident-workflows#field-references), which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click **\{+\}**, or enter `{{`, and select relevant fields. Refer to the [Field References](/ai-automation/automation/incident-workflows#field-references) article for more information.

| Name         | Description                                                                                                                           |
| :----------- | :------------------------------------------------------------------------------------------------------------------------------------ |
| **Issue ID** | The unique identifier of the Linear issue to update. Example: `ENG-123` or a UUID.                                                    |
| **Label**    | The name of the label to apply to the issue. Must match an existing label in your Linear workspace. Example: `Bug`, `Incident`, `P0`. |

> **Note:** The label must already exist in your Linear workspace. Labels are case-sensitive and must match exactly as configured in Linear.

## Outputs

| Name          | Description                                                                                  |
| :------------ | :------------------------------------------------------------------------------------------- |
| **Issue ID**  | The unique identifier of the updated Linear issue.                                           |
| **Issue URL** | A direct link to the updated issue in Linear. Use this in notifications or subsequent steps. |
