History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRA-8426
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jeff Turner [Atlassian]
Votes: 34
Watchers: 20
Operations

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

View comments as a field (eg. in Excel view)

Created: 06/Nov/05 05:53 PM   Updated: 26/May/08 05:51 AM
Component/s: Comments
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File navigator-excel.jsp (14 kb)

Issue Links:
Duplicate
 
Reference
 

Participants: Colm Carmody, Ethan Russell, Glenn Schwaertz, Gourav Pani, Jeff Turner [Atlassian], Julianah and Stephen Tan
Since last comment: 26 weeks, 6 days ago
Support reference count: 24
Labels:


 Description  « Hide
It is occasionally useful to be able to view comments (either the first, last or all) as a field of an issue, so they can be viewed in the issue navigator, particularly in the Excel view.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jeff Turner [Atlassian] - 06/Nov/05 06:04 PM
Attached is a replacement JIRA 3.2.3's navigator-excel.jsp file which implements comments for the 'Default view' Excel view. It will only work in JIRA 3.2.3. In later versions this approach will not work (navigator-excel.jsp has vanished), and it would be necessary to write a custom field exposing the comments as a field. There is a tutorial on using the Custom Field Plugin available at http://confluence.atlassian.com/display/JIRA/How+to+create+a+new+Custom+Field+Type.

Colm Carmody - 11/Nov/05 04:05 AM
We are using Jira 3.1.1

When you say write a cutom field to trap the comment. The custome field will only appear on the form allocated to an issue type initially.

Can the custom field be used to trap comments made by users on a Jira once it has been created ?

If we were to write a filter to pick up JRA-8426 and press the EXCEL button to write it to excel could we see this comment.

Currently we are using Jira to track issues and when we report out to management we really need the last comment/all comments a user/users have made. At the moment we have to manually look up every Jira to see what the update is.

All help appreciated regards Colm Carmody Ireland 00353 61714591


Jeff Turner [Atlassian] - 13/Nov/05 09:46 PM
> Can the custom field be used to trap comments made by users on a Jira once it has been created ?

The custom field would look up the last comment at runtime, when JIRA asks it to render itself. It would therefore always appear to contain the last comment value.

> If we were to write a filter to pick up JRA-8426 and press the EXCEL button to write it to excel could we see this comment.

I'm not sure what you mean here? What is 'this comment'?


Colm Carmody - 14/Nov/05 04:17 AM
I do not have any programming background.

What should be done with the attached file ? Does this have to be run
etc ?

Rgs
Colm


Colm Carmody - 14/Nov/05 07:59 AM
Hi,

Thanks for the feedback.

Lets say we write a filter to pick up JRA-8426. Press the EXCEL button
to write it to excel.
Would I then be able to see the comment I have just added to Jira-8426
in the new custom field?

If we can use a custom field to view the last comment what are the
required steps I need to take?

I have created many custom fields before via the admin sign on.

In order to see the last comment as per your solution Jeff using custom
fields will the work require a developer or can the administrator do
this ?

Rgs
Colm


Jeff Turner [Atlassian] - 14/Nov/05 09:58 PM
Colm,

To use the navigator-excel.jsp attached to this issue online, you'd download it and copy it over the existing file (./atlassian-jira/secure/views/navigator/navigator-excel.jsp in JIRA Standalone).

> Would I then be able to see the comment I have just added to Jira-8426 in the new custom field?

No, currently no comments are shown in the Excel view. With the patch you'd be able to see all of them.

> If we can use a custom field to view the last comment what are the required steps I need to take?

If you don't have any programming background then you wouldn't be able to. It requires some programming and general Java experience. We have some partners who can do custom programming tasks if you're interested. If so let us know and we'll put you in touch with someone.

Cheers,
Jeff


Colm Carmody - 18/Nov/05 05:29 AM
Hi,

When I log issues within a project I get the name "ITR-01"

If I create another project how can I change this to be "INF-01" for the
new project?

Regards
Colm


Jeff Turner [Atlassian] - 21/Nov/05 01:31 AM
Colm,

Can you mail jira-support@atlassian.com with more details on what you mean? This doesn't sound like it has anything to do with this issue (about Excel).

Cheers,
Jeff


Gourav Pani - 01/Aug/06 06:05 PM
We are using JIRA 3.5.2. In the scenario with a current project, one of our software vendors also uses JIRA and we export cases out in CSV and they import it in and vice versa once the cases are resolved. But this model does not allow us to export all comments, neither does it allow us to import comments. Is there an efficient manner in which we can accomplish this in our current version? If we started using a custom field, that would limit us to having only one comment section.

TIA


Jeff Turner [Atlassian] - 01/Aug/06 10:05 PM
Gourav,

No, JIRA simply doesn't support arbitrary migration of issues between JIRA instances. About the best you could do is export a set of JIRA issues as XML (which includes comments), and then write an XSLT to transform this into a Jelly script, which would recreate the issue on the new JIRA. This would still not transfer attachments, but perhaps that could be scripted.


Stephen Tan - 18/Aug/06 12:38 PM
Is there a way to get comments in the current Excel export for JIRA 3.6 ?
Can a similiar modification be made to the navigator-excel-current.jsp using the actionManager.getComments()?
I do not have any background knowledge in using XSLT to create a template for Excel.

Jeff Turner [Atlassian] - 20/Aug/06 09:57 PM
> Is there a way to get comments in the current Excel export for JIRA 3.6 ?

No (this issue is still open).

> Can a similiar modification be made to the navigator-excel-current.jsp using the actionManager.getComments()?

Possibly, though, the most logical approach would be to expose comments as a field type.


Ethan Russell - 20/Sep/06 05:17 PM
I agree, this would be a nice feature to have. I just ran into an issue today where one of my users wanted to export their issues for a particular project into Excel format with the comments.

Cheers,

E. Russell


Glenn Schwaertz - 20/Aug/07 01:33 PM
What is the time frame for this issue? It appears there is no status against this in a almost a year. Reporting on the "comments" field seems to be basic funcationality. Especially since it is a main input value when entering the issue.

Julianah - 11/Jan/08 01:19 AM
Any clues for exporting all comments to Excel for version 3.7.4 ?
This issue has been placed for 2 years, Is there solution proposed from Atlassian , Mr Jeff ?
Could you share with me ?
Thank you

Jeff Turner [Atlassian] - 11/Jan/08 01:30 AM
Julianah,

As the "open" status suggests, there is no solution in JIRA yet. If you need to do this, I suggest using a tool that queries the database directly (eg. dbvisualizer).


Julianah - 14/Jan/08 02:50 AM
Hi Jeff,

Where can I get the source code of Excel plugin (search request excel ) , excel renderer which read VM format file and produce excel file ?
Thanks


Jeff Turner [Atlassian] - 14/Jan/08 03:51 AM
If you look at the content of the "Excel" view, it's really just HTML served with a .xls extension and a particular MIME type that causes Excel to read it (application/vnd.ms-excel).