fix(Jira Software Node): 403 when getting a list of items from Jira Cloud (#14782)

This commit is contained in:
RomanDavydchuk
2025-04-23 14:08:18 +03:00
committed by GitHub
parent 9f60270430
commit 1cbbcf4a77
3 changed files with 67 additions and 8 deletions

View File

@@ -566,7 +566,7 @@ export class Jira implements INodeType {
this,
'/api/2/issuetype',
'GET',
body,
{},
qs,
);
const subtaskIssues = [];
@@ -690,7 +690,6 @@ export class Jira implements INodeType {
this,
'/api/2/issuetype',
'GET',
body,
);
const subtaskIssues = [];
for (const issueType of issueTypes) {
@@ -1298,7 +1297,6 @@ export class Jira implements INodeType {
const issueKey = this.getNodeParameter('issueKey', i) as string;
const returnAll = this.getNodeParameter('returnAll', i);
const options = this.getNodeParameter('options', i);
const body: IDataObject = {};
Object.assign(qs, options);
if (returnAll) {
responseData = await jiraSoftwareCloudApiRequestAllItems.call(
@@ -1306,7 +1304,7 @@ export class Jira implements INodeType {
'comments',
`/api/${apiVersion}/issue/${issueKey}/comment`,
'GET',
body,
{},
qs,
);
} else {
@@ -1316,7 +1314,7 @@ export class Jira implements INodeType {
this,
`/api/${apiVersion}/issue/${issueKey}/comment`,
'GET',
body,
{},
qs,
);
responseData = responseData.comments;