Community
Participate
Working Groups
Some connectors require certain data (e.g. the task type) to be known before opening the editor (to get proper taskData). For new tasks, this is solved using the connectorUi.getNewTaskWizard, but for subtask creation there seems to be no current hook. Suggestion (from Shawn): use the same mechanism, e.g a connectorUi.getNewSubtaskWizard given the parent task as parameter.
Created attachment 184766 [details] patch v1 Here is a first shot at this. Let me know what you think of that approach.
Created attachment 184767 [details] mylyn/context/zip
The original idea behind the new subtask button was that it would support subtask creation with a single click. Generally it is recommended to design the editor in such a way that all attributes can be changed dynamically. I can see however that some connectors may require additional input to construct the task schema. I'm not fond of the suggested approach as it makes the API for creating tasks inconsistent with the API for creating subtasks but I don't have a better idea at the moment. I'll add this request to the backlog and we consider it if we get more input or votes for it. I would recommend to disable the ability to add subtasks for the specific connector for now and consider contributing a toolbar button and menu item to implement a custom action for creating subtasks.
+1 vote for this; if it's significant, I'm using the JIRA connecter.
Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn