Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Download and upload attachments via API (Bugzilla)
Download and upload attachments via API (Bugzilla) [message #596194] Sat, 14 February 2009 20:31
Alexander Karnstedt is currently offline Alexander KarnstedtFriend
Messages: 68
Registered: July 2009

I want to create Bugzilla tasks programmatically with Mylyn.

What I don't understand is: How to download attachments from Bugzilla and create
new ones.

What I got so far is (from the Mylyn Example):

TaskRepository repository = new
TaskRepository(BugzillaCorePlugin.CONNECTOR_KIND, "http://..");
BugzillaRepositoryConnector connector = new BugzillaRepositoryConnector();

TaskData taskData = connector.getTaskData(repository, "1", null);

TaskMapping taskMapping = connector.getTaskMapping(taskData);
System.out.println("Summary: " + taskMapping.getSummary());
System.out.println("Priority: " + taskMapping.getPriority());

.... and now? I can't see any way from the API how to handle attachments.

Previous Topic:Programmatic new task creation from Java into Bugzilla????
Next Topic:"Bugzilla – Suspicious Action" error encountered after Bugzilla 3.2.2 upgrade
Goto Forum:

Current Time: Mon Nov 30 02:50:36 GMT 2015

Powered by FUDForum. Page generated in 0.17479 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software