Aggiungere una nuova rogranizzazione a u progetto Service Desk

Con queste righe di codice potrete aggiungere una nuova organizzazione ad un progetto Service Desk import com.atlassian.jira.component.ComponentAccessor import com.atlassian.servicedesk.api.ServiceDeskManager import com.atlassian.servicedesk.api.organization.CustomerOrganization import com.atlassian.servicedesk.api.organization.OrganizationService import com.atlassian.servicedesk.api.util.paging.SimplePagedRequest import com.onresolve.scriptrunner.runner.customisers.WithPlugin @WithPlugin ( “com.atlassian.servicedesk” ) def serviceDeskManager = ComponentAccessor. getOSGiComponentInstanceOfType (ServiceDeskManager) def organisationService = ComponentAccessor. getOSGiComponentInstanceOfType (OrganizationService) def adminUser = ComponentAccessor. userManager .getUserByKey( “admin” ) def project = ComponentAccessor.…

Read More