Hello Jira-automation colleagues,
We are using Jira DC 8.13.x version with automation for Jira.
For each value in the Fix Version field, we want to create Sub task.
Unfortunately, Jira DC does not have the 'For:each' option, so we were trying to use list of numbers conditions as per https://confluence.atlassian.com/automation/using-conditional-logic-in-smart-values-1081351607.html, however without success.
{ "fields": { "fixVersions": [ { "name": {{issue.tempversion.first.name.asJsonString}} } ] } }
{ "fields": { "tempversion" : [ {{#issue.tempversion}}{{^first}}{"name": "{{name}}"} {{^last}},{{/}}{{/}}{{/}} ] } }