mikemccand opened a new issue, #72:
URL: https://github.com/apache/lucene-jira-archive/issues/72

   Spinoff of #61.
   
   I think Resolution has value.  I wrote a quick Python script to count/sort 
them across all Jira issues:
   
   ```
   import os
   import glob
   import json
   
   with_resolution_count = 0
   count = 0
   resolution_count = {}
   for file_name in glob.glob('jira-dump/*.json'):
       d = json.load(open(file_name))
       count += 1
       resolution = d["fields"]["resolution"]
       if resolution is not None and len(resolution) > 0:
           with_resolution_count += 1
           #print(f'{file_name}: labels {labels}')                              
                                                                                
                                                                       
           name = resolution['name']
           resolution_count[name] = 1+resolution_count.get(name, 0)
   
   print(f'{with_resolution_count} resolution out of {count}')
   for name, count in sorted(resolution_count.items(), key=lambda a: -a[1]):
       print(f'{name} {count}')
   ```
   
   Result:
   
   ```
   Fixed 7180
   Won't Fix 534
   Duplicate 297
   Invalid 218
   Not A Problem 195
   Incomplete 98
   Cannot Reproduce 40
   Implemented 29
   Done 18
   Later 17
   Abandoned 17
   Won't Do 14
   Resolved 13
   Not A Bug 10
   Workaround 8
   Information Provided 6
   Pending Closed 2
   Works for Me 1
   Auto Closed 1
   Staged 1
   ```
   
   Maybe we could add `legacy-jira-resolution:X`?  E.g. searching for 
`IndexWriter locking` and then drilling down on issues that were marked as 
`Fixed` or `Won't Fix`.
   I can imagine Search use-cases 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to