I'm managing shared teams in Jira cloud and I want to use automation to get the name of the team lead (has Role = Team Lead) based on the team updated in the issue.
how can it be done?
That's going to be hard - roles are not issue fields, and automations work mostly off field data. You also have the problem that it is possible to put more than one person into a role in a project, and think about what happens when an issue moves to another project and the team lead changes.
Or are you representing your teams (and their leads) some other way?
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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