My JSM project is emailed when a user locks themselves out of their account. The emails that we receive are not customizable, but do contain the user's full display between a set of parentheses exactly as it would appear in Jira products. I need a way to take this display name string and set that user as a requested participant on the ticket.
Here is my attempt at updating the request participants field with this user:
{
"update": {
"Request participants" : [
{
"add": {
"id":"{{issue.description.substringBetween("(",")")}}"
}
}
]
}
}