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("(",")")}}"
}
}
]
}
}
You can get the Atlassian ID via the search user endpoint, and then use that to set the request participant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.