> ## Documentation Index
> Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a Linear issue

Updates properties of a Linear issue that is attached to the specified conversation. Currently only supports updating the priority level of the issue. The priority must be a valid value between 0 (No priority) and 4 (Low). Returns the updated issue details.


## OpenAPI

````yaml https://api.getfernand.com/openapi.json patch /integrations/linear/{conversation_id}/tickets/{linear_id}
openapi: 3.0.3
info:
  title: Fernand API Documentation
  version: '3.0'
  description: This is the documentation for the [Fernand](https://getfernand.com) API.
  termsOfService: https://getfernand.com/terms
  contact:
    name: Fernand Support
    url: https://getfernand.com
    email: support@getfernand.com
  x-logo:
    url: https://app.getfernand.com/images/favicon/icon_128.png
servers:
  - url: https://api.getfernand.com
    description: ''
    x-last-modified: 1764750693905
security:
  - apiKeyHeader: []
externalDocs:
  description: You can access our documentation online by visiting https://api.fernand.help
  url: https://api.fernand.help
paths:
  /integrations/linear/{conversation_id}/tickets/{linear_id}:
    patch:
      tags:
        - Linear Integration
      summary: Update a Linear issue
      description: >-
        Updates properties of a Linear issue that is attached to the specified
        conversation. Currently only supports updating the priority level of the
        issue. The priority must be a valid value between 0 (No priority) and 4
        (Low). Returns the updated issue details.
      operationId: updateLinearTicket
      parameters:
        - name: conversation_id
          in: path
          required: true
          schema:
            type: integer
          description: ID of the conversation the issue is attached to.
          example: 12345
        - name: linear_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID of the Linear issue to update.
          example: 8a7b93d1-18f7-4a9f-b5c6-3e2d1f9a8c7b
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                priority:
                  type: integer
                  description: >-
                    Priority level - 0 (No priority), 1 (Urgent), 2 (High), 3
                    (Medium), 4 (Low) (required).
                  example: 2
              required:
                - priority
      responses:
        '200':
          description: Linear issue updated successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Unique identifier of the Linear issue.
                    example: 8a7b93d1-18f7-4a9f-b5c6-3e2d1f9a8c7b
                  title:
                    type: string
                    description: Title of the issue.
                    example: Fix authentication bug
                  url:
                    type: string
                    description: URL to view the issue in Linear.
                    example: https://linear.app/team/issue/ENG-123
                  identifier:
                    type: string
                    description: Human-readable issue identifier.
                    example: ENG-123
                  assignee:
                    type: object
                    description: Assigned user (null if unassigned).
                    properties:
                      name:
                        type: string
                        description: Display name of the assignee.
                        example: Richard Hendricks
                      avatar_url:
                        type: string
                        description: URL to the assignee's avatar image.
                        example: https://avatar.linear.app/9c0d1e2f
                  state:
                    type: object
                    description: Current workflow state of the issue.
                    properties:
                      name:
                        type: string
                        description: Name of the workflow state.
                        example: In Progress
                      type:
                        type: string
                        description: Type of the workflow state.
                        example: started
                      color:
                        type: string
                        description: Color hex code of the workflow state.
                        example: '#f2c94c'
                      verbose:
                        type: string
                        description: ISO 8601 timestamp verbose format.
                        example: '2024-01-15T10:30:00+00:00'
                      last_updated_at:
                        type: string
                        description: >-
                          ISO 8601 timestamp of when the issue entered this
                          state.
                        example: '2024-01-15T10:30:00Z'
                  labels:
                    type: array
                    description: List of labels applied to the issue.
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: Name of the label.
                          example: bug
                        color:
                          type: string
                          description: Color hex code of the label.
                          example: '#5e6ad2'
                  priority:
                    type: integer
                    description: >-
                      Priority level (0=No priority, 1=Urgent, 2=High, 3=Medium,
                      4=Low).
                    example: 2
                  priority_label:
                    type: string
                    description: Display name of the priority level.
                    example: High
                  last_updated_at:
                    type: string
                    description: ISO 8601 timestamp of the last update.
                    example: '2024-01-15T10:30:00Z'
        '404':
          description: Linear integration or conversation not found.
components:
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      description: >-
        Authenticate your account by including your secret key in API requests.

        You can manage your API keys in the
        [Dashboard](https://app.getfernand.com/).


        Authentication to the API is performed by using the HTTP Header
        X-API-Key.
      name: X-API-Key
      in: header
      x-last-modified: 1764750344730

````