Forums

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

Confiform - asArrayOfKVPair not working

Maximilian Neufeld
Contributor
August 5, 2025

Hey there,

my setup is as follows:

Form1 with Field1 (Smart Multi Select pointing on Form2)

Form2 has field1 ProjectName (Text) and a FieldY that stores a JiraTicket generated by IFTTT for every entry. 

 

Now I have a onModified IFTTT on the Smart Multi Select -> for all values I want the Jira ticket and pass it to the Jira Rest-API with JSON.

The JSON looks like this:

 

"update": {
        "issuelinks": [
            {
                "add": {
                    "values": [
                        {
                            "type": {
                                "id": "99999"
                            },
                            "inwardIssues": [
                               [entry.Field1.FieldY.key.asArrayOfKVPairs(key)]
                            ]
                        }
                    ]
                }
            }
        ]
    } 

That generates this error:

Screenshot JSON.png

Somehow the asArrayOfKVPairs(key) is not resolving into {"key":"value"}, {"key": "value2"}.

Anyone got a clue what I did wrong?

Greetz Max

 

 

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
August 5, 2025

You should be transforming your multi-select field to get the array of jira issue keys

[entry.Field1.transform(FieldY).asArrayOfKVPairs(key)]

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events