Issue Details (XML | Word | Printable)

Key: JRA-9810
Type: Bug Bug
Status: Reopened Reopened
Priority: Minor Minor
Assignee: Unassigned
Reporter: Lothar Hegebart
Votes: 2
Watchers: 7
Operations

If you were logged in you would be able to see more operations.
JIRA

Subtasks are not displayed in the ReleaseNotes

Created: 03/Apr/06 09:01 AM   Updated: 20/Mar/07 01:45 PM
Component/s: Reports, Sub-tasks, Web interface
Affects Version/s: 3.5
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File ReleaseNoteManager.class (7 kB)
2. File ReleaseNoteManager_IssuesByType.class (3 kB)
3. Zip Archive ReleaseNoteManager_patch_for_3.7.x.zip (5 kB)

Issue Links:
Duplicate
Reference
 

Participants: Christopher Houghten, Dushan Hanuska [Atlassian], Justin Koke [Atlassian], Lothar Hegebart, Lothar Hegebart, Mario Giacomino [Atlassian], Maurizio Mancini, Nick Menere [Atlassian] and Scott Farquhar [Atlassian]
Since last comment: 1 year, 28 weeks, 6 days ago
Labels:


 Description  « Hide
The documentation states "The release notes contain all issues within the specified project that are marked with a specific "Fix For" version". It seems this statement is not correct. Subtasks (which afaik are mostly handled and saved in the db like issues) are not shown when i use the standard release notes-template, although they are marked with the selected "fix for"-version. the parent issue gets displayed properly.
parent and subtasks have different "fix for"-versions.
The subtasks are properly displayed in filters (searching only with "fix for") and in the road map. This bug seems to be releated to JRA-5329.

We use the release notes to communicate with our clients, so it is now rather embarrassing to tell them it is not reliable. Is there a quick fix available i didn't see ?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Justin Koke [Atlassian] added a comment - 03/Apr/06 11:51 PM
Hi,

These two classes will fix the current problem by showing sub-tasks. This is just a patch and not a permanent fix.

Steps:

  1. Download these two class files
  2. Stop JIRA
  3. Copy these files to the following directory:
    \atlassian-jira-enterprise-3.5.3-standalone\atlassian-jira\WEB-INF\classes\com\atlassian\jira\project\util
    
  4. Rename the file ReleaseNoteManager_IssuesByType.class to ReleaseNoteManager$IssuesByType.class
  5. Re-start JIRA.

Cheers,
Justin


Lothar Hegebart added a comment - 04/Apr/06 02:54 AM
thanks for the fast help, the subtasks are now properly displayed.

Maurizio Mancini added a comment - 06/Jun/06 04:08 PM
Justin,

Is there any plans to fix this permanently? Can I apply the attached fix to 3.6.2 or would I need another patch?

Thank-You

Maurice


Justin Koke [Atlassian] added a comment - 08/Jun/06 02:00 AM
Hi Maurice,

This patch will work with a later release of JIRA just fine (the change is rather small).

I am setting the fix for 3.7, the reason why this has not been implemented yet is that I believe there should be a little bit of configuration around whether or not to include sub-tasks in the notes. Since some sub-task's may be trivial a Project Manager may not want to show them in the release notes for a project version (or course you could always manually delete them).

If you have any insight or comments on this please post them below.

Cheers,
Justin


Maurizio Mancini added a comment - 08/Jun/06 08:33 AM
Justin,

Thanks for the response.

In our Agile environment we use JIRA to define our Stories (Defined just like a Task) and within each story we create all of the subtasks to complete the Story. However, as we plan these stories for each Iteration (Version), reality is that some of the subtasks are completed and some are not. Every iteration that is released is testable by the QA team. So the QA team will start to test these sub-tasks before the Story is actually complete, hence the need for showing the sub-tasks that were completed by Version.

However, I can see your point that in some environments the Project Manager may not want to see them so yes adding an option to not show sub-tasks is a good idea.

KEEP UP THE GREAT WORK WITH JIRA!!

Maurice


Scott Farquhar [Atlassian] added a comment - 19/Oct/06 01:44 AM
I think that release notes need to be rewritten as search request views, to allow people to make them pluggable.

Christopher Houghten added a comment - 17/Nov/06 01:51 PM
If anyone else cares:
We use this patch and we also have made custom changes to the code, so having these 2 class files is a real pain trying to keep everything synced up... so, I diffed the decompile of these files and the original source

The only code change is in the getTemplateVariables method

change the line that calls constantsManager.getIssueTypes()
to constantsManager.getAllIssueTypes()


Maurizio Mancini added a comment - 15/Feb/07 03:49 PM
Hi,

We upgraded to 3.7.2 from 3.6.2. This patch was working in 3.6.2 but putting it in 3.7.2 doesn't seem to work.

Can someone confirm that it should work. If it should work, any ideas why it is not?

Thanks for the help.


Mario Giacomino [Atlassian] added a comment - 19/Feb/07 09:20 PM
Hi Maurice,

This patch will not work if you upgrade. For patched things it is best to verify that the bug is fixed in the version to which you upgrade before going ahead with the upgrade. I recommend going back to 3.6.2 if this is something that is possible for you.

Thanks,
Mario


Lothar Hegebart added a comment - 20/Feb/07 04:16 AM
Sorry Mario, but are you kidding?
There is a known bug which is almost 1 year old, you already have a patch for it and you ask your paying customers to waive their upgrades and lots of improvements goodbye because you didn't fix it yet in your release code? I understand where your recommendation comes from, but Atlassian should not make their customers pay when they screw up. Please fix this as soon as possible and deliver the functionality we pay for.

Maurizio Mancini added a comment - 20/Feb/07 08:14 AM
Mario,

Of course rolling back to 3.6.2 is not an option especially considering that your upgrade procedure says that going once you go to 3.7, going back to your previous release is not trivial.

Regardless of that we are running a company that relies heavily on JIRA.

All the indications from the notes on this issue indicate that it will work with newer versions, the only item would be to make it configurable. There was never any indication that it wouldn't work with newer versions.

I need a fix and I need it ASAP. Please provide the correction!


Mario Giacomino [Atlassian] added a comment - 20/Feb/07 06:07 PM
Okay guys,

Just talked with the developers and they are taking a look at putting a new patch up for 3.7. It might require upgrading to the latest 3.7.3 but not sure yet.

Mario


Dushan Hanuska [Atlassian] added a comment - 20/Feb/07 06:59 PM
Added a patch for JIRA 3.7.x.

Please download the ZIP file and replace the included .class files in your JIRA instance. This will make the sub-tasks to be included on release notes.

Cheers,
Dushan


Maurizio Mancini added a comment - 21/Feb/07 09:06 AM
Thank-you for the quick turn around. We will install it and if there is any issue I will follow-up with some notes. If you don't hear from me, then it worked!

Maurizio Mancini added a comment - 28/Feb/07 12:19 PM
Dushan,

We replaced the files you provided and restarted JIRA but it doesn't seem to work. The Sub-Tasks still do not display.

We placed the files here

.../webapp/WEB-INF/classes/com/atlassian/jira/project/util

It is a Linux install.

Any ideas?


Nick Menere [Atlassian] added a comment - 01/Mar/07 08:11 PM
Maurice,

Are you running standalone? or your own version of JIRA?

If you are running standalone the classes you are replacing are:

<Jira install directoty>/atlassian-jira/WEB-INF/classes/com/atlassian/jira/project/util/ReleaseNoteManager.class
<Jira install directoty>atlassian-jira/WEB-INF/classes/com/atlassian/jira/project/util/ReleaseNoteManager$IssuesByType.class

If you are running you own version of Tomcat and running it exploded under a directory called jira:

<Tomcat directoty>/webapp/jira/WEB-INF/classes/com/atlassian/jira/project/util/ReleaseNoteManager.class
<Tomcat directoty>/webapp/jira/WEB-INF/classes/com/atlassian/jira/project/util/ReleaseNoteManager$IssuesByType.class

Can you check these for me?

Cheers,
Nick


Maurizio Mancini added a comment - 20/Mar/07 01:45 PM
Sorry for the delay. I was on vacation.

Here is the directory that it is installed in. It is a Tomcat 5.5 installation

/logs/jira/JIRA3/webapp/WEB-INF/classes/com/atlassian/jira/project/util

Any ideas why it is not working?