Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JSON in confiforms to create Jira ticket

Caitlin Brown
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!
October 15, 2025

Help!

 

I have wrote the following json to pull through confiform data to create a Jira ticket using IFTTT rule:

 

{ "fields": { "summary": "[entry.ActionSummary]", "issuetype": { "name": "Task" }, "project": { "key": "FCASAP" }, "description": "[entry.ActDescription]", "customfield_10200": "[entry.JiraTeam]", "labels": [ "[entry.Labels]" ], "customfield_11710": { "name": "[entry.Objective]" }, "customfield_11402": { "name": "[entry.KeyResult]" }, "priority": { "name": "[entry.Priority.label]" }, "customfield_10202": "[entry._now.jiraDate]", "customfield_10407": "[entry.ActAcceptanceCrit]", "duedate": "[entry.DueDate.jiraDate]" } }

 

I receive an error that KR( Key Results)":"data was not an array "," "Objective":"data was not an array".

 

I have attempted to use "name", "label" and ID. 

1 answer

2 votes
Gor Greyan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2025

Hi @Caitlin Brown

Welcome to the Atlassian Community!

You’re getting “data was not an array” because those two custom fields (Objective = customfield_11710, KR = customfield_11402) are multi-select fields in Jira. For multi-selects, Jira expects an array of option objects, not a single object/string.

Try this one.

{
"fields": {
"summary": "[entry.ActionSummary]",
"issuetype": { "name": "Task" },
"project": { "key": "FCASAP" },
"description": "[entry.ActDescription]",


"customfield_10200": { "id": "[entry.JiraTeam.id]" },


"labels": [entry.Labels.asJsonArray],


"customfield_11710": [ { "value": "[entry.Objective]" } ],
"customfield_11402": [ { "value": "[entry.KeyResult]" } ],

"priority": { "name": "[entry.Priority.label]" },


"customfield_10202": "[entry._now.jiraDate]",
"customfield_10407": "[entry.ActAcceptanceCrit]",
"duedate": "[entry.DueDate.jiraDate]"
}
}

Suggest an answer

Log in or Sign up to answer