I'd like to be able to select 1 or more metrics from a multiselect confiform dropdown and when the form creates a jira story, it should automatically add the corresponding label for each of the metrics selected to the label field in the story.
I am using "Smart Multi-select" field type in ConfiForms field.
The output from that is in [A,B,C,D] format. JIRA considers it one label rather than seperate. I want these 4 labels gets created? how to do that I used array keyword as well.
{ "fields": { "project": {"key": "SATS"}, "summary": "[entry.Summary.escapeJSON]", "description": "Issue: [entry.Issue.escapeJSON] Requester: [entry.Requestor.escapeJSON] Tech contact: [entry.Techcontact.escapeJSON] Metric(s): [entry.Metrics.LinkedMetricSep.escapeJSON] Metric Label(s): [entry.Metrics.MetricLabelSep.escapeJSON] Benefits: [entry.Benefits.escapeJSON] Workaround: [entry.Current.escapeJSON] To Be: [entry.ToBe.escapeJSON] Additional Comments: [entry.Comments.escapeJSON]", "labels": ["Dynamos"], "customfield_10153": "[entry.Summary.escapeJSON]", "duedate": "[entry.DeployDate.jiraDate]", "reporter": {"name": "[entry._user]"}, "issuetype": {"id": "5"}, } }