I have been successful in pulling the name from description information where the name is in a table field
Example information
I have an automation set to set the Reporter field to the following
{{issue.description.match("Requestor:\\s*([^|\\n\\r]+)\\s*(?=\\||\\n|\\r|$)").trim}}
I have confirmed via logging that it is pulling the name without spaces correctly using the above code and in the above description example it gives "Mark Dodd" without the quotes.
But it is just setting the reporter to Anonymous and I can't figure out why.
Hi Mark,
Morning @Mark Dodd ,
Welcome to the community!
When setting the reporter field (or any other user object field), I believe it only accepts Atlassian account IDs. When invalid data is used, it defaults to Anonymous.
Thanks!
Brandon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is there anyway to look up a users ID based upon the name.
I just assumed it would take the name as when you paste in a name to the field it finds the person.
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.