Pylon Update

Pylon Update

Certified

Update a Pylon issue

Calls PATCH /issues/{id}. Only the fields you set are sent, so unset fields are left untouched on the issue.

yaml
type: io.kestra.plugin.pylon.issue.Update

Close a Pylon issue and reassign its tags

yaml
id: update_pylon_issue
namespace: company.team

inputs:
  - id: issue_id
    type: STRING

tasks:
  - id: update_issue
    type: io.kestra.plugin.pylon.issue.Update
    apiToken: "{{ secret('PYLON_API_TOKEN') }}"
    issueId: "{{ inputs.issue_id }}"
    state: closed
    tags:
      - resolved
Properties

Pylon API token

API token created by a Pylon Admin user (Pylon Settings > API), sent as Authorization: Bearer <token> on every request. Store it as a Kestra secret and reference it with {{ secret('PYLON_API_TOKEN') }} — never hardcode it in a flow.

Issue ID or number

The Pylon issue ID or issue number to update.

Account ID

Pylon account to move the issue to. Pass an empty string to remove it (requires requesterId).

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

Assignee ID

Pylon user ID to assign the issue to. Pass an empty string to unassign.

Defaulthttps://api.usepylon.com

Pylon API base URL

Base URL of the Pylon API. Defaults to the US region (https://api.usepylon.com); override with https://api.eu.usepylon.com for the EU region.

Custom fields

Map of custom field slug to value to modify; only the fields listed here are changed. Use a list value for a multi-valued field (e.g. multiselect), or a single string otherwise.

Customer portal visible

Whether the issue should be visible in the customer portal.

Possible Values
CONVERSATIONTICKET

Issue type

Upgrade a conversation to a support ticket. Cannot be downgraded from TICKET back to CONVERSATION.

Requester ID

Pylon contact to set as the issue's requester. Pass an empty string to remove it.

State

The state to move the issue to. Standard values are new, waiting_on_you, waiting_on_customer, on_hold, and closed; custom status slugs configured on your workspace are also supported, which is why this is a free-form string rather than a fixed list of values.

SubTypestring

Tags

Tags to set on the issue; replaces the existing tag set exactly.

Team ID

Pylon team to assign the issue to. Pass an empty string to remove the team.

Title

New title for the issue.

Issue

Full Pylon issue object after the update, as returned by the API.

Issue ID

Pylon-assigned identifier of the updated issue.