Components are defined, Component Lead is a valid user with proper (Edit Issue) permission. And Component Default Assignee column is set to Component Lead.
After Editing the Component selection, the assignee of the issue remains unchanged. The Atlassian documentation appears to indicate the Issue Assignee would be updated.
I understand one way to get the issue assignee updated to Component Lead would be to use a workflow post function.
Just a heads up, this requirement is usually handled by a Listener. Since you can't apply post-functions to the Edit operation, you would have to install a Listener that would scan the issue updates and modify the issues as the business requirement asks.
Our friend Nic from above, his company Adaptavist sells Script Runner, which allows you to add script listeners much easier than it would be to create one as an add-on. Food for thought!
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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