i want to copy fieldscreen to a new named screen by groovy
Hi @jingjing
FieldScreenService interface has this method
ServiceOutcome<FieldScreen>copy(FieldScreen screen, String copyName, String copyDescription, ApplicationUser loggedInUser)Creates a copy of the passed field screen assigning the passed name and description.
I think you’ll need to instantiate you own instance of DefaultFieldScreenService. There doesn’t appear to be a ‘manager’ for it.
check API docs
https://docs.atlassian.com/software/jira/docs/api/7.8.0/com/atlassian/jira/bc/issue/fields/screen/DefaultFieldScreenService.html
I tried this approach, it’s not straightforward at all.
what are the reasons for doing this?
i try it and success
hello @jingjing ,
could you tell me how you did that?
It looks like you're new here. Sign in or register to get started.