- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2025 12:57 PM
Hello everyone ,
I have a JOSN of watchlist users , in some case those can be multiple so i need to store there names and emails in a string type field ',' separated.
{
"size": 4,
"start": 0,
"limit": 50,
"isLastPage": true,
"_links": {
"self": "--------------------",
"base": "------------------",
"context": ""
},
"values": [
{
"accountId": "-----------------------------------------",
"emailAddress": "This 1",
"displayName": "This 2",
"active": true,
"timeZone": "Asia/Calcutta",
"_links": {
"Rest": "------------------------------",
"avatarUrls": {
"48x48": "------------------",
"24x24": "---------------------",
"16x16": "--------------------",
"32x32": "-------------"
},
"self": "------------------"
}
},
{
"accountId": "-------------------------",
"displayName": "This 3",
"active": true,
"timeZone": "Asia/Calcutta",
"_links": {
"jiraRest": "-----------------------",
"avatarUrls": {
}
}
]
}
like above JSON we have 2 display names
so I need to store them in one string field "," separated.
In my current flow I'm getting the last name of the participant , earlier one getting override.
Can anyone suggest me the correct way to achieve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 12:00 AM
You can use the scripted option of the update step to concatenate the values, think something like
yourVariable += yourVariable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 12:23 AM
I am not sure I fully understand what the issue is exactly, but if you are already outputting the list of users, you can probably use the scripted option for this as well, where you take the list and then with a for loop, for example, you set the value to the watchlist