With the following in the additional issue actions the subtask is just being assigned to me and not the default assignee for the component.
MutableIssue issue = issue
//parent = issue.getParentObject()
ComponentManager componentManager = ComponentManager.getInstance()
CustomFieldManager customFieldManager = componentManager.getCustomFieldManager()
//Get valuje of user picker custom field
CustomField customField = customFieldManager.getCustomFieldObjectByName("Name")
customFieldValue = issue.getCustomFieldValue(customField)
Project project = issue.getProjectObject()
ProjectComponent component = componentManager.getProjectComponentManager().findByComponentName(project.getId(), "Laptop Provisioning")
String prefix = customFieldValue
issue.summary = prefix + ' - Provision Laptop'
Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG