feat(clickup/actions): add create task and find task by id (#1615)
* 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>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user