- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 01:18 PM
Are you unable to pass over list collector values to a multi select field in Jira??
I recently had an ask to send multiple values from a list collector in ServiceNow, to a multi Select field in Jira with the same values in both locations.
In ServiceNow when you submit the request, and look at the executions in flow designer, you can see in the runtime value, that both values selected are being show. But will then receive an error stating that one of the two values is not valid.
I have done both:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2023 07:02 PM
You can try the following script,
var impacted = fd_data.trigger.request_item.variables.variable_name.getDisplayValue().split(",");
return impacted;
I just removed the extra whitespace in the delimiter. This will return list collector values as an array. The receiving end should process the data accordingly.
Otherwise let's know what kind of data format the JIRA API is expecting.
Please mark my answer helpful and accept as a solution if it helped 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2023 10:02 PM
Hello @Nikelle Ruccio
You can try this,
Do not take the getDisplayValue() and pass that list collector values one by one to the jira.
Take one flow variable type string in flow designer and add below code in it,