Jira Approvers Field

HI All Im trying to change “Approvers” on existing issue via n8n Workflow, It need to add an approver depend on column in Google sheet, At start when I have just tryed to pass username start getting errors 400 - {“errorMessages”:[],“errors”:{“customfield_10003”:“data was not an array”}} then I have added Function node which change format to array and have this view [Array: [{“name”: “Approvers Name”}]] and it works but it just giving me an empty approvers list check in screenshot . I have tryed passs woth the same way employee Id or Email but the results are the same any ideas why its like that?

Information on your n8n setup

  • **n8n version: 1.50.1
  • **Database Postgres
  • **n8n EXECUTIONS_PROCESS setting default: main
  • **Running n8n via Docker on AWS ec2
  • **Operating system: Amazon Linux

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Information on your n8n setup

  • n8n version: 1.50.1
  • Database Postgres
  • n8n EXECUTIONS_PROCESS setting default: main
  • Running n8n via Docker on AWS ec2
  • Operating system: Amazon Linux

@Albert_Ashkhatoyan , I believe that usage of name for the People field (which Approvers is) has been deprecated. You should be using accountId instead.

If your custom field is multi-select (which seems to be the case), use [{"accountId": "accountid"}] instead of [{"name": "Approvers Name"}]. That does imply getting to know the user (account) ID as opposed to just user name.

1 Like

Hi @ihortom Thanks for reply thats works!!
Thank you very much

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.