I have a custom field called "location" that is a dropdown with the value options being Building A, Building B, and Building C. When a customer is creating an issue and they choose their location, I would like it to automatically update another custom field called "Team" with the corresponding team assigned to that location.
For example, when a customer chooses "Building A" when they create their issue, I would like it to automatically populate the team field with "Team A." Same for Building B-Team B and Building C-Team C.
Is this achievable with ScriptRunner?