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

Bug 156389

Summary: Global action to open issue by id
Product: z_Archived Reporter: Eugene Kuleshov <ekuleshov>
Component: MylynAssignee: Robert Elves <robert.elves>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: wmitsuda
Version: unspecified   
Target Milestone: 1.0   
Hardware: PC   
OS: All   
Whiteboard:

Description Eugene Kuleshov CLA 2006-09-06 12:41:29 EDT
Often you have issue id and want to see what it is about. So, it would be handy if we could have "open issue" action that would work similar to "Add Existing Repository Task" but won't add opened task to the Task List. 

Actually I wonder if "Add Existing..." action should just open issue editor and have checkbox "Add to the Task List" on the last wizard page.
Comment 1 Mik Kersten CLA 2006-09-08 13:49:27 EDT
"Add Existing.." is all about the Task List, so I don't think we should change that.  

We used to support this use by allow an ID to be put into the "Summary/id" field in the search dialog, and if all that was in there was an ID with a single match the report would open immediately (not that a repository has to be selected, which the search page allows).  I think that instead of adding another dialog we solve this by reusing this existing UI, and if for some reason the result is cumbersome we provide a keyboard shortcut that opens the correct search page and puts focus on the "Summary/id" field.

Rob: marking for 0.7 because we lost this at some point and the "Summary/id" field is incorrect since we do not search on ID.
Comment 2 Eugene Kuleshov CLA 2006-09-08 13:58:14 EDT
Mik, wouldn't it be just a matter of renaming "Add existing..." to "Open issue..." and introduce that "add to task list" checkbox.

We can also monitor selection and use text underneath to fill in the task id field... in case if that action is called from in a middle of nowhere (any random editor, CVS history, etc).
Comment 3 Mik Kersten CLA 2006-09-08 14:07:46 EDT
That could make sense.  I've always found that action a bit awkward and not very useful in the Task List, and making it action "Open Repository Task..." and flexible so that it is not a Task List only thing sounds right.  We should also create an action for "Add Task to List", which can be added to the editor for hits and to the Search view (bug 156693).  

Rob: note that these should both be commands, and in the plugin.xml the command will get an "id" parameter.  That will make them easier to invoke.  I'll slowly be converting more of the Task List actions into commands so ask me about that when you get to this.
Comment 4 Robert Elves CLA 2006-11-30 14:22:21 EST
This appears to be implemented no?
Comment 5 Eugene Kuleshov CLA 2006-11-30 15:48:45 EST

*** This bug has been marked as a duplicate of bug 165088 ***