I want to use Mylyn to send bug reports from my own RCP. The UI is quite simple and has custom title and description fields. So when the user presses 'Send' a new task is created (newTask = new TaskData(mapper, repository.getConnectorKind(),repository.getRepositoryUrl(), "");).

But I'd also like to add a file as attachment to this task. Does anyone know, how to achieve this?