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:
Somehow the asArrayOfKVPairs(key) is not resolving into {"key":"value"}, {"key": "value2"}.
Anyone got a clue what I did wrong?
Greetz Max
You should be transforming your multi-select field to get the array of jira issue keys
[entry.Field1.transform(FieldY).asArrayOfKVPairs(key)]
Works!! At least the Confiform Part
Unfortunatly Jira still cant take multiple inwardissues in the JSON (BUG is open for 8 years wtf?). Is there any possibility of triggering the IFTTT one time for each value in the smart multi select field ?
Or maybe you have another idea how I pass all JiraTickets of the Smart Multi Select in the JSON
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Somewhat possible in cloud https://jira.atlassian.com/browse/JRACLOUD-81845 but still not fixed in DC - https://jira.atlassian.com/browse/JRASERVER-66329
You may consider setting up an extra form and copying (flattened) data there and have an IFTTT to run onCreated to create a link...
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thats a good idea! But how do I automatically copy the flattened entries to the other form. The only way to flatten is to do it via table merger, no?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.