I have a custom field called teams with several values such as a,b,c,d,... I have another custom field called sub-team with different values such as 1,2,3,4... I want to create a postfunction that will set the sub-team based on the value chosen in team. I'm wondering what script I would create to do that.
Thanks Nic, but that's not quite what I'm looking for. I want the workflow to set a second custom field based on what's selected in a first custom field.
In other words, If first_field = "A,B", then second_field = "1,2". If first_field = "C,D,E", then second_field = "3". The values in the fields for both the first_field and second_field are not the same.
Both fields are singleSelect Fields.
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