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'
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...
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