Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 187275 - Add subtask support for JIRA
Summary: Add subtask support for JIRA
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 2.1   Edit
Assignee: Eugene Kuleshov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 10:46 EDT by Steffen Pingel CLA
Modified: 2007-09-12 13:11 EDT (History)
0 users

See Also:


Attachments
mylar/context/zip (4.89 KB, application/octet-stream)
2007-05-29 02:34 EDT, Eugene Kuleshov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2007-05-16 10:46:44 EDT
Parse subtask information from RSS feed.
Comment 1 Eugene Kuleshov CLA 2007-05-29 02:11:30 EDT
By the way, Steffen, do you think we should have a single collection for subtasks and linked issues in Issue object or we should keep them separately?
Comment 2 Eugene Kuleshov CLA 2007-05-29 02:34:08 EDT
I committed small change to parse and show parent task id in the attributes section (need to add link)
Comment 3 Eugene Kuleshov CLA 2007-05-29 02:34:27 EDT
Created attachment 69004 [details]
mylar/context/zip
Comment 4 Steffen Pingel CLA 2007-05-29 10:20:02 EDT
 (In reply to comment #1)
> By the way, Steffen, do you think we should have a single collection for
> subtasks and linked issues in Issue object or we should keep them separately?

They are subtly different, sub-tasks can have an icon and a description whereas issue links are defined by an outward and inward description so I think they should be separate.
Comment 5 Eugene Kuleshov CLA 2007-05-29 11:26:38 EDT
Well, subtask icons will go into the Project configuration. And outward description is implicit for subtasks. 

The only reason to keep those collections separate if we need to show them separately in the UI.
Comment 6 Steffen Pingel CLA 2007-05-29 11:30:33 EDT
And I suppose you need to make sure that you differentiate the two when submitting changes to the repository.
Comment 7 Eugene Kuleshov CLA 2007-05-29 11:48:39 EDT
 (In reply to comment #6)
> And I suppose you need to make sure that you differentiate the two when
> submitting changes to the repository.

That will be possible because each link will have type associated with it. Anyways it seems like we'll have to submit each link in a separate request.
Comment 8 Eugene Kuleshov CLA 2007-06-02 20:24:49 EDT
Committed fix for parser and jira issue model to read subtasks. Added support to show hyperlinked subtasks and parent task in task editor.
Comment 9 Steffen Pingel CLA 2007-06-04 13:51:10 EDT
RssContentHandler does not clear currentSubtasks when creating an issue resulting in bogus sub task relations in the task list. I have committed a fix.
Comment 10 Steffen Pingel CLA 2007-06-04 13:57:09 EDT
(In reply to comment #8)
> Added support to show hyperlinked subtasks and parent task in task editor.

I only see a non-clickable parent label in the sub task editor's attribute section but no links to the sub tasks from the parent editor. That would be a cool feature to have.
Comment 11 Eugene Kuleshov CLA 2007-06-04 14:02:24 EDT
(In reply to comment #10)
> I only see a non-clickable parent label in the sub task editor's attribute
> section but no links to the sub tasks from the parent editor. That would be a
> cool feature to have.

It is there and both parent and subtasks are clickable. Though I can't figure out yet why offline data isn't rebuilt on full resync, and that affects attributes representation in editor which seem using old offline data. As an ugly workaround you can kill offline data (while Eclipse is down).
Comment 12 Eugene Kuleshov CLA 2007-06-04 14:03:44 EDT
(In reply to comment #11)
> It is there and both parent and subtasks are clickable.

I meant to say that you'll need code from CVS HEAD, since it didn't get into Friday's dev build.

Comment 13 Steffen Pingel CLA 2007-06-04 14:25:12 EDT
I am working bootstrapped.

> Though I can't figure
> out yet why offline data isn't rebuilt on full resync, and that affects
> attributes representation in editor which seem using old offline data. As an
> ugly workaround you can kill offline data (while Eclipse is down).

That could be it. I'll try deleting the offline storage later.
Comment 14 Steffen Pingel CLA 2007-06-14 21:28:38 EDT
I have verified with the latest CVS. Subtasks are displayed in the task list and hyperlinked in the editor. Thanks Eugene!

Comment 15 Steffen Pingel CLA 2007-06-27 23:01:07 EDT
Eugene, anything left here?
Comment 16 Eugene Kuleshov CLA 2007-06-27 23:05:33 EDT
(In reply to comment #15)
> Eugene, anything left here?

Maybe not if we are going to track editing of those linked issues and subtasks in a separate bugs.
Comment 17 Eugene Kuleshov CLA 2007-06-27 23:06:48 EDT
Oh. Still need need to add some tests, but they need support for creating those links first.
Comment 18 Steffen Pingel CLA 2007-09-12 13:11:53 EDT
Opened bug 203106 for writing tests.