
* feat(clickup): add create task action * feat(clickup): add find task by id action * fix(clickup): send optional parameters only when provided --------- Co-authored-by: Ali BARIN <ali.barin53@gmail.com>
30 lines
628 B
JavaScript
30 lines
628 B
JavaScript
export default {
|
|
name: 'List workspaces when using custom id',
|
|
key: 'listFieldsWhenUsingCustomId',
|
|
|
|
async run($) {
|
|
if ($.step.parameters.useCustomId) {
|
|
return [
|
|
{
|
|
label: 'Workspace',
|
|
key: 'workspaceId',
|
|
type: 'dropdown',
|
|
required: true,
|
|
description: '',
|
|
variables: true,
|
|
source: {
|
|
type: 'query',
|
|
name: 'getDynamicData',
|
|
arguments: [
|
|
{
|
|
name: 'key',
|
|
value: 'listWorkspaces',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
];
|
|
}
|
|
},
|
|
};
|