From fce8cc427579c9098359b9d1ecc420650299b229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 1 Aug 2023 10:58:37 +0200 Subject: [PATCH] fix(Linear Node): Fix issue creation priority (#6813) --- packages/cli/BREAKING-CHANGES.md | 14 ++++++++++++-- .../nodes-base/nodes/Linear/IssueDescription.ts | 7 +++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 6744029d43..24db177b50 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -2,6 +2,16 @@ This list shows all the versions which include breaking changes and how to upgrade. +## 1.2.0 + +### What changed? + +For the Linear node, priority in issue creation is `4` (previously incorrectly `3`) for `Low`. + +### When is action necessary? + +If you were using `Low`, you were setting a priority of `Normal`, so please double check you are setting the priority you intend. + ## 1.0.0 ### What changed? @@ -22,8 +32,8 @@ Update the Node.js version to v18 or above. This release introduces two irreversible changes: -* The n8n database will use strings instead of numeric values to identify workflows and credentials -* Execution data is split into a separate database table +- The n8n database will use strings instead of numeric values to identify workflows and credentials +- Execution data is split into a separate database table ### When is action necessary? diff --git a/packages/nodes-base/nodes/Linear/IssueDescription.ts b/packages/nodes-base/nodes/Linear/IssueDescription.ts index 0ac3e00300..e303af34d3 100644 --- a/packages/nodes-base/nodes/Linear/IssueDescription.ts +++ b/packages/nodes-base/nodes/Linear/IssueDescription.ts @@ -113,10 +113,9 @@ export const issueFields: INodeProperties[] = [ default: '', }, { - displayName: 'Priority Name/ID', + displayName: 'Priority', name: 'priorityId', type: 'options', - // eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items options: [ { name: 'Urgent', @@ -127,12 +126,12 @@ export const issueFields: INodeProperties[] = [ value: 2, }, { - name: 'Medium', + name: 'Normal', value: 3, }, { name: 'Low', - value: 3, + value: 4, }, { name: 'No Priority',