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? 

Reply via email to