Quiero asignar automáticamente un usuario específico (usando su nombre de usuario) según los campos personalizados
Por lo tanto, configuré el siguiente script usando la función de publicación Scriptrunner.
The users are well assigned based on the custom field, but when I execute the transition of the flow the assigned one is not updated.
Did I do something wrong with my script?
Thank you in advance for your help
It seems that your code is ok. I would add
and at the end
log.warn issue.getAssignee() to see if it gets assigned correctly
After your workflow executes, check the logs in "No failures in the last 10 executions" to see what gets logged.
Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events