mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(jira): assignee is optional on creation
This commit is contained in:
parent
102c1398e8
commit
3ac5588e7d
|
@ -189,6 +189,7 @@ export const issueFields: INodeProperties[] = [
|
|||
displayName: 'Assignee',
|
||||
name: 'assignee',
|
||||
type: 'resourceLocator',
|
||||
required: false,
|
||||
default: { mode: 'list', value: '' },
|
||||
modes: [
|
||||
{
|
||||
|
|
|
@ -491,6 +491,7 @@ export class Jira implements INodeType {
|
|||
extractValue: true,
|
||||
});
|
||||
if (assignee) additionalFields.assignee = assignee;
|
||||
else delete additionalFields.assignee;
|
||||
|
||||
const reporter = this.getNodeParameter('additionalFields.reporter', i, '', {
|
||||
extractValue: true,
|
||||
|
|
Loading…
Reference in a new issue