That other method returns a Local task which has some setters. Is that not enough?
--emi lun., 6 iul. 2020, 10:37 Bilu <albi...@gmail.com> a scris: > Is this possible ? > Le 29/06/2020 à 10:59, Bilu a écrit : > > Hello, > > Is there a way to add new task to the local repository programmatically ? > > Bugtracking API provides Util.createIssue(Repository repository, String > summary, String description) but this method throw an > java.lang.UnsupportedOperationException: Not supported yet. > at > org.netbeans.modules.localtasks.RepositoryProviderImpl.createIssue(RepositoryProviderImpl.java:94) > at > org.netbeans.modules.localtasks.RepositoryProviderImpl.createIssue(RepositoryProviderImpl.java:35) > at > org.netbeans.modules.bugtracking.RepositoryImpl.createNewIssue(RepositoryImpl.java:248) > at org.netbeans.modules.bugtracking.api.Util.createIssue(Util.java:150) > > and indeed seems not supported yet by the API: > https://github.com/apache/netbeans/blob/0f2e98d513deaedccef831ee9cfc08d09f3650b6/ide/localtasks/src/org/netbeans/modules/localtasks/RepositoryProviderImpl.java#L94 > > So is there another way to achieve this and create new local tasks > programmatically? > >