Check checkboxes according to google form checkbox

Crystal Tan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2022

Hi, I've created a Google Form that has checkbox options that are identical to the one of the Jira ticket's custom field, and using Apps Script to integrate with Jira. The checked values would be saved to a Google Sheet, with ", " separating them. So I've tried

var arrayofval = last_row_values[6].split(", ");
to get an array of selected value. Then use
"customfield_id": arrayofval,

However, it's giving me an error: 

The <field name> value must be an object

 

If I use 

var arrayofval = last_row_values[6];

there would be an error of

Specify the value for<field name> in an array

Does anyone know how to solve this?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events