mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
feat: added 'with_labels_details' flag and usage
This commit is contained in:
parent
63a6e7e034
commit
1e0f119f77
|
@ -275,7 +275,6 @@ export class Gitlab implements INodeType {
|
|||
],
|
||||
default: 'create',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
// shared
|
||||
// ----------------------------------
|
||||
|
@ -906,6 +905,19 @@ export class Gitlab implements INodeType {
|
|||
// ----------------------------------
|
||||
// repository:getIssues
|
||||
// ----------------------------------
|
||||
|
||||
{
|
||||
displayName: 'With labels details?',
|
||||
name: 'withLabelsDetails',
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: ['getIssues'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'Whether to retrieve enriched data for labels',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
name: 'getRepositoryIssuesFilters',
|
||||
|
@ -1576,6 +1588,8 @@ export class Gitlab implements INodeType {
|
|||
qs.per_page = this.getNodeParameter('limit', 0);
|
||||
}
|
||||
|
||||
qs.with_labels_details = this.getNodeParameter('withLabelsDetails', 0);
|
||||
|
||||
endpoint = `${baseEndpoint}/issues`;
|
||||
}
|
||||
} else if (resource === 'user') {
|
||||
|
|
Loading…
Reference in a new issue