I found a similar post. This one https://community.atlassian.com/t5/Jira-questions/Copy-value-portfolio-field-quot-Team-quot-in-custom-field/qaq-p/926689
but when I try to import this package in my groovy script, it says unable to resolve class DefaultTeam.
import com.atlassian.rm.teams.core.team.data.DefaultTeam
In fact I cannot import any packages from porfolio. here is the link
https://docs.atlassian.com/portfolio-for-jira-server/javadoc/2.13.0/?_ga=2.125778058.1418412991.1571360036-1034159812.1557755272&_gac=1.217317794.1569638088.EAIaIQobChMI-erHs73y5AIVo__jBx3jHw4NEAAYASAAEgJm9vD_BwE
This is the key to my solution. I need to be able to import this package
com.atlassian.rm.teams.core.team.data.DefaultTeam. @Tom Lister I need your help to be able to import this com.atlassian.rm.teams.core.team.data.DefaultTeam
It looks like you're new here. Sign in or register to get started.