Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332097

Summary: allow new task wizard for sub tasks
Product: z_Archived Reporter: Thomas Ehrnhoefer <thomas.ehrnhoefer>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P3 CC: b.muskalla, keely_tigs, shawn.minto, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch v1
thomas.ehrnhoefer: review?
mylyn/context/zip none

Description Thomas Ehrnhoefer CLA 2010-12-07 18:40:10 EST
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.
Comment 1 Thomas Ehrnhoefer CLA 2010-12-07 20:37:21 EST
Created attachment 184766 [details]
patch v1

Here is a first shot at this. Let me know what you think of that approach.
Comment 2 Thomas Ehrnhoefer CLA 2010-12-07 20:37:23 EST
Created attachment 184767 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-12-27 14:43:40 EST
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.
Comment 4 Kajsa Anderson CLA 2011-02-02 15:57:30 EST
+1 vote for this; if it's significant, I'm using the JIRA connecter.
Comment 5 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
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