Hello together,
I am currently educating myself in using the remarkable features of Jira automation.
Currently I want to get specific values out of a text field with a regular structure and concatenate them afterwards. The goal is to get a user list out of a text field and add them as a list via smart values.
The part of adding a list of usersnames to a multi user picker field is already implemented. For me the different part is how to get the user names out of a text field structure like this:
Group1|nick, jack, thomas
Group2|benjamin, steven, mike
Group3|franklin, danny
In this case we want to receive a comma separated user list to create a smart value variable and add assign them to the multi user picker field.
Is there any possibility to do achive this with smart values?
Hi @Tobias
I had a very similar case.
One possible solution is using the match() function. -> match(".*\|([^|\n]+).*")
You can store the result of the match result in a variable with the "create variable" action.
If you'd like to see the output of the match function, use the "log action" function, which prints the result in the audit log.
After this you can reference the variable in a multi user picker field with {{variable_name}}.
Best,
Erik
Thank you @Erik
this is exactly what I was looking for. Thank you very much!
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.