My JSON is working fine when it is refering to a single list of categories, such as:
"components": [{"name": "[entry.CategoryListOne.escapeJSON]"}],
I have four additional lists of categories to choose from and add the corresponding Component. What would be the proper structure?
You nee d to create a structure from a multi-value holding field using, for example asArrayOfKVPairs(key) function https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
Something like
"components": [[entry.CategoryList.asArrayOfKVPairs(name)]],
or
"components": [[entry.CategoryList.transform(label).asArrayOfKVPairs(name)]],
depends on what you want to send over to Jira - IDs or LABELs from your "CategoryList" field
Thanks Alex,
yes this works, and also listing the Components one by one as shown below:
"components": [{"name": "[entry.Component1.escapeJSON][entry.Component2.escapeJSON][entry.Component3.escapeJSON]"}],
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.