Hello Mario, WRT to creating JIRA issues it cannot be done directly through Mylyn. You have to transform Mylyn TaskData and send to JIRA on your own. This is how Atlassian Connector for Eclipse works (it supports JIRA issues through Mylyn Tasks).
Creating issues in JIRA is quite straightforward. JIRA 5.0+ has a nice REST API: https://docs.atlassian.com/jira/REST/latest/#d2e2592 There is also quite nice JIRA REST Java Client library which hides the REST and JSON and exposes Java objects: https://ecosystem.atlassian.net/wiki/display/JRJC/Home You can also look into Atlassian Connector for Eclipse internals as it is open source project (it uses JIRA REST Java Client client library): * building JIRA issue from Mylyn TaskData: https://bitbucket.org/atlassian/connector-eclipse/src/1635643f83857d49e3a4e32ff2db3a323e63d996/com.atlassian.connector.eclipse.jira.core/src/com/atlassian/connector/eclipse/internal/jira/core/JiraTaskDataHandler.java?at=rest#cl-1419 * creating issue in JIRA: https://bitbucket.org/atlassian/connector-eclipse/src/1635643f83857d49e3a4e32ff2db3a323e63d996/com.atlassian.connector.eclipse.jira.core/src/com/atlassian/connector/eclipse/internal/jira/core/service/rest/JiraRestClientAdapter.java?at=rest#cl-490 Cheers, Jacek On Mon, Feb 10, 2014 at 6:24 PM, <mwa...@seznam.cz> wrote: > Hi Jan, > > thanks for aswer. To be more accurate, I don't need it to be connector > independent. I just need to be able to connect to both Jira and Bugzilla. > So, editing the question, is there a way to praogrammatically connect my > plugin to Jira and a way to p. connect to Bugzilla? > > Mario > > > Mario, > > we started with a similar objective quite a while ago with MyLyn 3.6 and > managed it only by using unofficial API and by partially copying and > changing code like the SubmitTaskJob. Our biggest problem was to do it > connector independent. Not sure whether it can be done more elegant using > newer versions of mylyn. > > Still interested in any results of your discussion ;-) > > Jan > > Hi, > I've been working for some time on a plugin, trying to programmatically > create issues from errors given by other plugins (this part is solved) and > send them to systems like Jira or Bugzilla. Unfortunately I'm not able to > find any way to do this. So, here is my question. Is there a "correct" way > to programmatically create issues (using Mylyn API), send them to Jira or > Bugzilla? > > Many thanks for any hint or advice, > > Mario > > > _______________________________________________ > mylyn-integrators mailing > listmylyn-integrators@eclipse.orghttps://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > > > -- > jan mauersberger > senior architect / ikv++ technologies ag > dessauer strasse 28/29; 10963 Berlin > e|mauersber...@ikv.de w|www.ikv.de > p|+49 (30) 3480 7711 f|+49 (30) 3480 780 > > _______________________________________________ > mylyn-integrators mailing list > mylyn-integrators@eclipse.org > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > > _______________________________________________ > mylyn-integrators mailing list > mylyn-integrators@eclipse.org > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > >
_______________________________________________ mylyn-integrators mailing list mylyn-integrators@eclipse.org https://dev.eclipse.org/mailman/listinfo/mylyn-integrators