Can somebody help me with the automation smart value to create 2 variables for a user with a DisplayName of "Jones, Bob" where variable 1 is Bob's first name, and variable 2 is Bob's last name, "Jones"
Here's what I have so far
{{issue.assignee.displayName.split(",").second}} - this returns no results
{{issue.assignee.displayName.split(",").first}} - this returns Jones
Hey @Mathew Lederman - it seems to work like this - {{issue.assignee.displayName.split(" ").last}} || {{issue.assignee.displayName.split(" ").first}}
Please try and let me know.
Thanks,
you can store that in each variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahhh, perfect thank you! I was racking my brain trying to figure out '2' or 'second' or two'... Never thought of 'last'.
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.