Issue Details (XML | Word | Printable)

Key: JRA-5536
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jeff Turner [Atlassian]
Votes: 171
Watchers: 94
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
JIRA

Search the change history

Created: 20/Dec/04 10:31 PM   Updated: Thursday 06:13 AM
Component/s: Filtering & Indexing
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 
Part
 
Reference
 

Participants: Andriy Malyuk, Anthony Phan, Anton Mazkovoi [Atlassian], Aviva Zuckerman, Carole Feugeas, Chad DeBauch, Eric Horn, Eric Rawlins, Evan Birkby, hernan g, Jeff Turner [Atlassian], Juan Thompson, Kevin James, Kim Trueman, Lloyd Goss, Melissa, Michelle Lorenz, Mick Callanan, Nancy Belser, Ovidiu Todoran, Rebecca Yorn, Rick Mann, Rick Young, Ross Ryan, sameer danthurthy, Samuel Cai, Simon Tomlinson and Tyler Theobald
Since last comment: 1 week, 3 days ago
Labels:
Support reference count: 39


 Description  « Hide
Many people wish to be able to search for issues that have been in some state in the past. For example, all issues that have once been Reopened.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jeff Turner [Atlassian] added a comment - 20/Dec/04 10:36 PM
Another use-case from http://jira.atlassian.com/browse/JRA-1578#action_16264:

> We work with an external support contractor that wants to have a weekly report on the issues that where once assigned to his company and have been reassigned to someone of our company.


Jeff Turner [Atlassian] added a comment - 20/Dec/04 10:51 PM
This would also allow searches like 'Issues resolved by Fred'.

Ovidiu Todoran added a comment - 20/Jan/05 08:31 PM
This will solve a lot of practical cases.
It seems I'm missing simply abilities as "search for bugs/items" I worked on.

Once a bug is assigned to someone else I cannot easily find it. So at the end of the week I'd like to see all th eitems I worked one (now they are assigned to various persons in QA). I cannot do this because if I search by my user id I'm not getting them.


Ross Ryan added a comment - 25/Jan/05 02:33 AM
We would also greatly appreciate this functionality.

Michelle Lorenz added a comment - 23/Feb/06 08:45 PM
Same here...

At our company, it would be greate for QA if we could track how many times issues have been moved between projects (and back, as is the case sometimes)...


Kevin James added a comment - 03/Mar/06 05:07 PM
Project managers are really calling for this in our company. They want to create reports that show how issues are moving from version to version or in our case from milestone to milestone which we track in our Versions for large projects.

Kim Trueman added a comment - 03/Mar/06 05:22 PM
That's exactly what our company wants to do too, see how bugs are moving into and out of Milestones.
Currently we're considering making a Listener that will detect changes to the Fix version field and update some external document. Or maybe it would be possible to write a plugin Report that can show change history info.. I think it's going to be messy either way.

Kevin James added a comment - 03/Mar/06 05:29 PM
I curious if the {sql} macro in Confluence can be used query JIRA's database. Confluence is used for our project documentation and status so this would be an acceptable means for getting at this data. It's not clear to me if I can configure Confluence such that the {sql} macro can access the JIRA database. Both Confluence and JIRA are on the same MS SQL server.

Anton Mazkovoi [Atlassian] added a comment - 05/Mar/06 05:14 PM
Kevin,

It should be possible to configure the sql macro to access JIRA's data source, if JIRA and Confluence run in the same app server.

Anton


Rick Young added a comment - 17/Mar/06 04:47 PM
Is there any movement on this issue?
It seems it would be a very popular feature, and it would certainly make our lives a lot easier when it comes to reporting on issues that have changed versions/milestones.

Can you provide an estimate as to when this feature will be implemented?


Anton Mazkovoi [Atlassian] added a comment - 23/Mar/06 03:28 AM
Hi Rick,

This is a popular issue, but we have feature requests that seem to be even more sought after.
http://jira.atlassian.com/browse/JRA?report=com.atlassian.jira.plugin.system.project:popularissues-panel

Unfortunatley at the moment I do not have an ETA for the implementation of this issue.

Thanks,
Anton


Melissa added a comment - 02/Jun/06 04:48 PM
As a PM responsible for implementing Jira, I know this would come in handy. Being able to gather metrics on the ratio of issues that are incorrectly resolved/closed, the average number of times an issue in a given project/version are resolved/closed, and all of the examples above apply to my group too.

Mick Callanan added a comment - 29/Sep/06 07:56 AM
Bump for this issue as we also require this functionality. Any update on this?
Thanks.

Carole Feugeas added a comment - 01/Mar/07 07:54 AM
I am also very interesting by this new feature. We should do some reports and I should do some SQL requests, and it is not very simple, users want always new requests : nb of issues moved for a project, nb of issues on which a personn has been assigned at least once ...

Rebecca Yorn added a comment - 08/Mar/07 09:27 AM
I am also interested in this behavior. Currently we have to do some networking on our side, i.e. opening ports, creating read-only accounts, in order to query the database. Is there an ETA on when this feature will be implemented?

Kevin James added a comment - 09/Apr/07 12:56 PM
Managers in our company are requesting the ability to breakdown issues updated by a particular JIRA user in the past week. Also, they'd like to see the issues resolved by a particular developer in the past week. Simply filtering on Assignee and Status=Resolved (as some have suggested) implies the assignee has not been changed since it was resolved which isn't always the case. We're needing to see this capability in JIRA more than ever now.

hernan g added a comment - 12/Jun/07 01:48 PM
I think that linking and closing RA-5740 "How To Tell How Many Issues A Developer has resolved" was a bad decision. I see this thread as "search" oriented. That is not what I require.

I want to be able to get a report of how many bugs each developer solved last month. The "search" way of thinking is not the right one. It is also demonstrated to be very trivial. You have already added a custom field called "shutdown", which gets written when a user resolves an issue. That field was made to support the charts "Created vs Resolved Issues".

All you need is to add to the SAME callback/action, the writing of not only the date, but the user that changes the status to Resolved. Then we can all run a report that shows who resolved what bug.

I see it as so basic and easy, that I assume that either I don't understand why my description is simply incorrect, or, I am the only one that really wants this report. Otherwise, I don't see how this feature was requested in 2005 and still not done.


Tyler Theobald added a comment - 16/Jan/08 11:00 AM
We need this so users can answer the question, "What issues have I touched in the past?" - Voted!

Andriy Malyuk added a comment - 22/Jan/08 04:37 AM - edited
We need this for weekly review. It is great hassle to play around with SOAP scripts and saving data aside to get necessary history data.

Simon Tomlinson added a comment - 04/Feb/08 01:07 PM
We need the ability to export the change history to be able to find out how many tickets during a week were re-opened, how many tickets were actually resolved by an analyst, etc.

This is a very important KPI to measure our teams effectiveness. Please start working on it.

Thanks


Eric Rawlins added a comment - 04/Feb/08 02:58 PM
Simon,

Since this isn't on the roadmap for any upcomng release, and you seem to need this soon, you might want to look into a direct SQL query against the database that will get you the information you need.

Here is an example that shows all changes that set or removed a resolution. (resolved or reopened the ticket). It also shows who executed it and the execution time. You could take this export and put it into excel to satisfy both of the requirements you mentioned.

SELECT 
propertystring.propertyvalue as "Executor", 
changegroup.created,
changeitem.oldstring, 
changeitem.newstring
FROM changeitem
INNER JOIN changegroup ON changegroup.ID = changeitem.groupid
INNER JOIN jiraissue ON changegroup.issueid = jiraissue.id
INNER JOIN userbase ON changegroup.author = userbase.username
INNER JOIN propertyentry ON propertyentry.entity_id = userbase.id
INNER JOIN propertystring ON propertyentry.id = propertystring.id
WHERE 
((changeitem.oldvalue is null and changeitem.newvalue is not null) OR (changeitem.oldvalue is not null and changeitem.newvalue is null)) AND
propertyentry.entity_name = "OSUser" AND
propertyentry.property_key = "fullName" AND
changeitem.field = "resolution"

Simon Tomlinson added a comment - 05/Feb/08 10:14 AM
Thanks for this. There's quite a bit of hassle involved in obtaining production access to our JIRA database (we're an investment bank and SOx prevents a lot of this), we'll look into it, however, I feel strongly that this should be a core requirement for JIRA reporting so should be prioritized.

Samuel Cai added a comment - 10/Feb/08 07:15 PM
Simon, if you have some development resources, you may create a report, we did it for ourselves. It's too difficult to add ability of searching change history into Find Issues page as I know.

Rick Mann added a comment - 03/Mar/08 06:27 PM
I've been needing to find "bugs modified/changed by me." I consider changing resolution, commenting on, etc a "change". I'm frankly quite surprised this isn't already implemented. It also doesn't seem to be very hard to implement.

Evan Birkby added a comment - 30/Jun/08 09:47 PM
Having this feature is fundamental to projecting future bug and issue counts more accurately. The opened vs. resolved report doesn't add the re-opened tasks and the results become inaccurate when those are also considered. Many useful metrics can't be easily extracted such as individual or team outputs over a period of time. Rough estimates are possible but accuracy is lost. This feature should be available for accurate tracking, but amazingly many competitors don't have it either. This would be an ideal opportunity for Jira to stand out from the crowd.
Currently I need to update my counts every week and put them into a spreadsheet or I can't get accurate information. If I miss a week I'm out of luck and I'm forced to guess at what the counts probably were.

Chad DeBauch added a comment - 28/Aug/08 04:32 PM
I would agree with all the comments. We could really use this feature in our organization. The change log is one of the great features of JIRA when tracking the history of an issue. I was surprised when I was unable to search the Change Log.

sameer danthurthy added a comment - 03/Sep/08 10:08 AM
This plug in is close enough

http://confluence.atlassian.com/display/JIRAEXT/JIRA+Enhancer+Plugin

but is unbelievably slow and impacts the performance of the environment. I hope this plug in could be enhanced.


Eric Horn added a comment - 30/Oct/08 02:47 PM
Us too. We just started using this stuff and this functionality was noticed missing almost immediatly.

Lloyd Goss added a comment - 17/Nov/08 12:46 PM
Another application for us would be the ability to search for all incidents that were ever assigned to a particular person

Juan Thompson added a comment - 19/Jan/09 08:10 PM
It would be very helpful to be able to search issues based on historical statuses. This is the one requirement of ours that JIRA lacks. In other respects it does a great job.

Aviva Zuckerman added a comment - 02/Mar/09 02:24 AM
The managers in my company are really looking for this functionality. Our workflows go through alot of people and we want to be able to search for issues worked on by a specific user who is NOT the reporter or current assignee.

Nancy Belser added a comment - 11/Mar/09 01:07 PM
The managers in our company our looking for this functionality as well. They need to know how long an issue has been in a certain state and how many times it has been in a state. It seems only natural that people would want this information.

Any updates in this?.


Anthony Phan added a comment - 23/Jun/09 01:47 PM
It feels like this issue has hit a dead end. Are there no plans to get this into Jira?

Nancy Belser added a comment - 23/Jun/09 02:26 PM
What do we need to do to get this bumped up in priority? I just watched the webinar for 4.0 and there is a lot of cool stuff in there, but this request is also important as it concerns metrics and measurements that can help companies improve their throughput. I noticed that Anton last commented on this issue over 3 years ago.

Jeff Turner [Atlassian] added a comment - 23/Jun/09 09:49 PM
Since JQL is pluggable it would be possible to implement this (and half the other linked issues) by:
  • Writing some JDBC code to do the relevant SQL query and return a list of issues. This would need to bypass Ofbiz and get the DataSource object straight from JNDI.
  • Wrap the code in a class implementing com.atlassian.jira.plugin.jql.function.JqlFunction.
  • Package it as a plugin (see webapp/WEB-INF/classes/system-jql-function-plugin.xml in the 4.0-beta1 distribution),

Then one could write a JQL query like 'key in IssuesWithStatusContaining("reopened")'

Bypassing Ofbiz might render the plugin non-portable across databases (to the degree the SQL is portable), and not using Lucene means it will never be blazing fast, but I think this would be a good 80% solution, implementable by anyone able to write JDBC code.