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'
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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